Check out example codes for "list d objey en typescript". It will help you in understanding the concepts better.
Code Example 1
return [
{ 1 , name : "pomme" , price : 3, promo : 0.3},
{1,"pomme",3,0.3},
{1,"pomme",3,0.3}
];
Learn ReactJs, React Native from akashmittal.com