Describing union of input types in TypeScript

后端 未结 0 1371
滥情空心
滥情空心 2021-02-15 14:39

Let\'s say we have a wrapper object:

interface Wrapper {
  value: T
}

I want to design a function that receives Wrapper obj

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