Generic props in react/typescript - how to get T to be the type of a property?

前端 未结 0 1836
自闭症患者
自闭症患者 2021-01-23 03:10

I\'ve tried countless things but couldn\'t get this to work

I have props for a react component, and the type of handleChange should be a function that takes

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