Why is that an object defined using a type alias extends { [key: string]: unknown } and an object defined using an interface doesn't?

后端 未结 0 883
旧巷少年郎
旧巷少年郎 2020-12-04 23:49

I have the following function that should take an array of objects of many types and return a sorted result of that array. Since it may receive many object types, I\'d like

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