angular remplire un objet d'un class code example
Example: list d objey en typescript
return [
{ 1 , name : "pomme" , price : 3, promo : 0.3},
{1,"pomme",3,0.3},
{1,"pomme",3,0.3}
];
return [
{ 1 , name : "pomme" , price : 3, promo : 0.3},
{1,"pomme",3,0.3},
{1,"pomme",3,0.3}
];