As you may already know it is quite easy to specify an Array of objects in your type in typescript. Let me give an example. type People={ name:string; age:number; height:string; } const peopleArray:People[] = [{ name: "john doe", age: 16, ...
najibbala.hashnode.dev3 min read
No responses yet.