Typescript Interface with unknown key name

前端 未结 0 982
时光取名叫无心
时光取名叫无心 2020-12-07 23:36

Im trying to create an interface in Typescript which has an both Unkown key names and known key names. Something like this:

interface Data { 
    test: string         


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