TS Error when using createTRPCReact in Turborepo (NextJS 14) #5254
Replies: 1 comment
-
I got it resolved by adding a type to
Although I am still not sure what type should I pass for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I try to setup tRPC for a package in Turborepo (NextJS 14) by following the answer given here - #3185
But it seems TS is giving me error when trying to use
createTRPCReact
withWebRouter
as type. For context, the API/code works but it will fail to build due to the TS error.Thanks in advanced for any pointers / suggestions!
Beta Was this translation helpful? Give feedback.
All reactions