YK
Size: a a a
YK
YK
AK
AK
ИГ
YK
YK
YK
const subCat: ISubCategory = {
id: 24;
name: ‘bla’;
categoryId: 22;
imagepath: ‘/bla/1.jpg’;
}YK
ИГ
YK
YK
YK
ИГ
YK
YK
export interface ISubCategory {
id: number;
name: string;
categoryId: number;
imagepath: string;
}
export interface ICategory {
id: number;
name: string;
imagepath: string;
subCategory: Array<ISubCategory>
}YK
YK
const subCat: ISubCategory = {
id: 24;
name: ‘bla’;
categoryId: 22;
imagepath: ‘/bla/1.jpg’;
}ИГ
P