How to declare `useMumutation` return type in `react-query`

前端 未结 0 1238
长发绾君心
长发绾君心 2020-11-27 12:06

Given the following code:

const setFriendCode = (data: Params) => api({ data })
const [mutateSetFriendCode, state] =         


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