custom hook returning functions in typescript

后端 未结 0 848
小鲜肉
小鲜肉 2020-12-03 12:03

I\'m getting a typescript error on a custom hook. My hook returns 3 functions. Two with no arguments and one with a function argument. When I use the hook and call the first

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