Type error: The inferred type of 'trpc' cannot be named without a reference....

Fflorian5/14/2023
./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.
Fflorian5/14/2023
could this be due to
Fflorian5/14/2023
    "declaration": true,
    "declarationMap": true,
Fflorian5/14/2023
i need this for prisma tho (using turborepo)
Ttrash_dev5/15/2023
i’d be surprised if that the case. does the error actually go away when you disable those?