tRPCttRPC
Powered by
RainePR
tRPC•3y ago•
2 replies
RaineP

Incompatible Router Types

I am working on a trpc implementation for sveltekit.

I attached a screenshot of the createContext function, the fetchRequestHandlers, and the client. Everything works but I am getting a typescript error that is breaking auto-complete. I will comment the error below.
image.png
image.png
image.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Router output types not mapping?
hashwarpHhashwarp / ❓-help
2y ago
Types issues upgrading to v11, `never` when using t.router
mhMmh / ❓-help
16mo ago
Typescript helper for router output
Chris JaydenCChris Jayden / ❓-help
3y ago
Migrating pages router to app router
spreen_coSspreen_co / ❓-help
11mo ago