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 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.