Update types
This commit is contained in:
Vendored
+13
-1
@@ -51,9 +51,21 @@ declare global {
|
||||
meta_title: string;
|
||||
meta_description: string;
|
||||
parent: number;
|
||||
children: "string";
|
||||
"product_count": string,
|
||||
"subcategorys": SubCategory[]
|
||||
};
|
||||
|
||||
type SubCategory = {
|
||||
"id": number,
|
||||
"name": string,
|
||||
"slug": string,
|
||||
"icon": string,
|
||||
"meta_title": string,
|
||||
"meta_description": string,
|
||||
"product_count": string,
|
||||
"show": boolean
|
||||
}
|
||||
|
||||
type Address = {
|
||||
id: number;
|
||||
province: string;
|
||||
|
||||
Reference in New Issue
Block a user