3 ms·
Fortunately that's not too difficult: let x: {[key: string]: Type} But maybe the documentation is lacking here?
by jeremyjacob 4y ago
Fortunately that's not too difficult:
let x: {[key: string]: Type}
But maybe the documentation is lacking here?
- aylmao 4y agoFor the record, this is equivalent to: let x: Record<string, Type> Pun intended.
- deleted 4y ago[deleted]