how to create a interface with unknown number of properties in typescript?

前端 未结 0 865
迷失自我
迷失自我 2020-12-21 12:40

I want to create an interface with an unknown number of properties of type string in typescript. eg: there could be 5 or maybe 50 property of type string Is it possible in t

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