Typescript Interfaces - Implement function with narrowed union type parameter

后端 未结 0 1595
独厮守ぢ
独厮守ぢ 2021-02-12 04:47

I\'m trying to build a generic React component which allows number, string, or Date values. I want users of the component to be able to define a callback when the value is upda

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