tRPCttRPC
Powered by
JorgeJ
tRPC•2y ago•
4 replies
Jorge

Endpoints lose Input and Output Types on tRPC Client

Environment: Node with Bun package manager
What's wrong: The problem I am facing is that on the trpc client I am able to type safely access the routes, however the type annotation of the output and input gets lost.
What I have: https://github.com/trpc/trpc/discussions/5881 left here all the relevant information on my pov
GitHub
Endpoints lose Input and Output Types on tRPC Client · trpc trpc · ...
I am using a turborepo monorepo where I have the trpc client on packages/shared (repo) and trpc definitions/config/routers on packages/server (@repo/server). The problem I am facing is that on the ...
Endpoints lose Input and Output Types on tRPC Client · trpc trpc · ...
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

client unable to infer output types
advancedAadvanced / ❓-help
2y ago
TRPC ratelimiting endpoints
rustclanRrustclan / ❓-help
3y ago
Multiple TRPC endpoints on same API, with discrete clients? Any gotchas?
nikfpNnikfp / ❓-help
3y ago