tRPCttRPC
Powered by
ChenC
tRPC•3y ago•
2 replies
Chen

Client `tsc` checking server code

I have a trpc server and vite/react client set up in a pnpm monorepo. The VSCode type checking is behaving fine, but running
tsc
tsc
to build the Vite app starts trying to apply the client's typescript rules to the server's code. Is this a known issue, and is there a decent solution to this? If not, I can provide a simple repo which reproduces the issue.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

React tsc starts checking server types
MarksmithMMarksmith / ❓-help
3y ago
Prevent client tsc from typechecking the server
🦊�🦊 / ❓-help
15mo ago
Checking the connection status from the client side
牙達👍牙牙達👍 / ❓-help
2y ago