G$Row
G$Row
TtRPC
Created by G$Row on 5/3/2024 in #❓-help
How to get data type from onMutate function in useMutation
That seems to do it! Thanks! Can it be guaranteed that using the inferRouterInputs<typeof taskRouter>['createTask'] (in my case) will always be the same type as what is passed into that onMutate function ?
30 replies