How to define properties in a Typescript interface with dynamic elements in the key name?

后端 未结 0 367
慢半拍i
慢半拍i 2020-12-15 21:18

I have an object that can have an n number of properties, each one the same but with their n value in the name.

Example:



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