Using object of object type in Typescript
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, ...
Sep 29, 20223 min read28
