AppRouter type any?
I am trying to use trpc in a Turbo repo and when I export the AppRouter on the server side it is the correct type but when it is imported to the client side it infers type any. The AppRouter is being import from another app in my pnpm workspace.
4 Replies
Your trpcClient should be typed though, yes?
I thought it should but it's any type after I import it
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View