How to get the type of values in a map in Typescript?

后端 未结 0 929
迷失自我
迷失自我 2020-12-30 23:51

I cannot find a solution for this anywhere.

Lets say I have

type ObjectRecord = { [key: number]: SomeType }

Now I can have another typ

相关标签:
回答
  • 消灭零回复
提交回复
热议问题