How to describe an object with “any extra number of fields” in typescript?

后端 未结 0 1065
滥情空心
滥情空心 2021-01-14 01:53

Well I have an object which behaves like a dictionary - except for having a few static fields (that are of different type).

ID:

{
    id: number,
    k         


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