Create interface based from object keys

后端 未结 0 2002
时光说笑
时光说笑 2020-11-29 11:48

I have a constant that contains an object with 150 # of keys and from that constant\'s keys I want to create a type/interface.

interface MyObjModel {
  [key:          


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