TypeScript accepts type of Function as type but not an explicitly typed function as a type

前端 未结 0 1257
予麋鹿
予麋鹿 2021-01-05 04:35

I have a React component:

const Component = (props: Props): ReactElement => {

    const transfer = onTransfer()(pro         


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