Hacker News new | ask | show | jobs
by jeremyjacob 1394 days ago
Fortunately that's not too difficult:

  let x: {[key: string]: Type}
But maybe the documentation is lacking here?
1 comments

For the record, this is equivalent to:

  let x: Record<string, Type>
Pun intended.