How to define a type with defined properties and an index “fallback” in TypeScript

后端 未结 0 1922
滥情空心
滥情空心 2020-12-10 07:36

Use case: I am receiving data from a remote API. The data is dynamically generated and sometimes changing. I know the type I will receive is an array of objects, each contai

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