How do I build a generic typescript custom hook?

前端 未结 0 1788
孤城傲影
孤城傲影 2020-12-15 05:30

I have a React Hook which is used in several forms to get data from an API call. The target URL is defined using parameters to the hook. The returned object could be one of

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