TechnoWill
TechnoWill2w ago

Output typings in Monorepo always resolve to any

I’m using a monorepo and pnpm workspaces to import my router into the FE code. However the typings for the output will always resolve to any - the inputs will resolve find but the outputs (schema or no schema) won’t. I’ve followed the advice on the documentation, any suggestions?
2 Replies
TechnoWill
TechnoWillOP2w ago
For context - here is the profiles router type on the client when looked at by VSC - and this is the explicit getCurrentProfile query. I'm using react-query atm but this same effect happens on regular client
No description
No description

Did you find this page helpful?