Is inferRouterInputs & inferRouterOutputs exported from trpc-server?
"@trpc/server": "10.0.0-proxy-beta.26",
3 Replies
Inferring Types | tRPC
It is often useful to wrap functionality of your @trpc/client or @trpc/react-query api within other functions. For this purpose, it's necessary to be able to infer input types and output types generated by your @trpc/server router.
+1 to this!
you have to be on
10.0.0-rc.1
(release candidate was published to the latest
tag instead of the next
tag by accident)