Fix undefined error

This commit is contained in:
Çetin
2022-08-29 10:15:46 +03:00
parent c8913a71eb
commit c48da30d1a
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
interface InventoryStatus {
label: string;
value: string;
}
export interface Product {
id?: string;
code?: string;
@@ -5,8 +9,8 @@ export interface Product {
description?: string;
price?: number;
quantity?: number;
inventoryStatus?: any;
inventoryStatus?: InventoryStatus;
category?: string;
image?: string;
rating?: number;
}
}