How to define Object of Objects type in typescript
Solution 1:
It should be:
private data: { [name: string]: DataModel };
And then this should work:
this.data = {};
It should be:
private data: { [name: string]: DataModel };
And then this should work:
this.data = {};