T
Join ServertRPC
❓-help
Type error: The inferred type of 'trpc' cannot be named without a reference....
./src/lib/api.ts:21:14
@driveorg/dashboard:build: Type error: The inferred type of 'trpc' cannot be named without a reference to '.pnpm/@trpc+react-query@10.26.0_@tanstack+react-query@4.28.0_@trpc+client@10.26.0_@trpc+server@10.2_ssrxcmysrtuzb43rctcerwnzbe/node_modules/@trpc/react-query/shared'. This is likely not portable. A type annotation is necessary.
could this be due to
"declaration": true,
"declarationMap": true,
i need this for prisma tho (using turborepo)
i’d be surprised if that the case. does the error actually go away when you disable those?