Jacob
Explore posts from serversLosing type-safety with merged routers
When using router exported from an external file, I lose any sort of type safety for the procedures on in that router.
router.ts
users.ts
On my frontend I call the trpc object api
api.test
is typed as expected, api.users
however is any
.
I can quite figure out what I'm doing wrong 🤔5 replies