tRPCttRPC
Powered by
j...J
tRPC•3y ago•
5 replies
j...

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.
./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.
CleanShot_2023-05-14_at_22.52.012x.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

The inferred type of 'trpc' cannot be named without a reference ...
jacobJjacob / ❓-help
3y ago
The inferred type of 'trpc' cannot be named without a reference
sh03Ssh03 / ❓-help
2y ago
The inferred type of 'trpc' cannot be named without a reference to '...'
segment_treeSsegment_tree / ❓-help
2y ago
The inferred type of 'trpc' cannot be named without a reference. A type annotation is necessary.
KrishnaKKrishna / ❓-help
3y ago