tRPC query has any type
I'm using turbo repo for trpc (with express) and react-native, I made mutation query, but in client side when I try to use trpc it has any type on queries
@/api/auth
server.ts
and from index.ts
I export AppRouter type
client.ts
so whenever I use api.auth
auth type is any but why?? I don't get it I actually followed t3-app configuration of nextjs5 Replies
also this is my
packages/backend
package.json that I export types from index.ts
found issue but idk how to fix it
if I imort publicProcedure like that
../../
type checking works
but if I do
@/trpc
it no longer works
issue comes from tsconfig