T
tRPC

The inferred type of 'trpc' cannot be named without a reference. A type annotation is necessary.

The inferred type of 'trpc' cannot be named without a reference. A type annotation is necessary.

KKrishna11/5/2023
Hello everybody... I have a nodejs + reactjs + yarn monorepo using turbo. I am getting this error when declaring trpc on client side. Please help. I have setup my code following the example here at https://github.com/kuubson/react-cra-trpc/ I have tried the solutions suggested here at https://github.com/trpc/trpc/issues/2717#issuecomment-1247425462 This is the first time I am using trpc. Any helps & pointers would be great. Thanks!!!
No description
KKrishna11/5/2023
also finding this error during the build step
No description
KKrishna11/5/2023
resolved this downgrading to old version of react-query.. Thanks to this comment https://github.com/TanStack/query/issues/6186#issuecomment-1772356489

Looking for more? Join the community!

T
tRPC

The inferred type of 'trpc' cannot be named without a reference. A type annotation is necessary.

Join Server