tRPC losing types on t3-turbo
I'm trying the t3 turbo repo, trpc loses type defs out of nowhere on nextjs, types work fine on expo, has anyone else experienced this? im not sure what information im suppose to give cause i have no idea what is even causing this. Thanks for any help. Using the latest version of t3-turbo
10 Replies
in expo
in nextjs
auth router
Some basic stuff that might help is making sure your typescript version is up to date and then try restarting the TS server using the vscode command pallete.
I did get a notification from vscode asking about the typescript version, that might be something...i tried restarting the TS server multiple times, and even restarting vscode altogether did not change anything
Make sure you are using the projects version, not a globally installed one. You can do this through the command palette too. iirc its something like "select workspace TS version" or something.
Just checked it out, both workspace and global ts version is the same (5.0.4), tried using the workspace version and restarting tsserver and vscode but its still the same...
The AppRouter in utils/api.ts is throwing a type error