Typescript Interfaces - Implement function with narrowed union type parameter

后端 未结 0 1818
名媛妹妹
名媛妹妹 2021-02-12 05:03

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

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