Fix undefined error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user