Ole Asteo
Re: relative imports to trpc.ts
For reference: https://github.com/trpc/trpc/pull/6112
@Nick Lucas
Let's assume for a second it were the case that it's something wrong with the setup.
How comes the type inference of
type AppRouter = typeof appRouter
on the server side works as expected, regardless of relative / path alias import. But only upon client side import, the type isn't inferred properly anymore?
Is there any known project that uses different packages and path alias imports and still works that you could guide me to?5 replies