When trying to use the new tRPC Tanstack React Query integration with @trpc/tanstack-react-query
, the queryOptions
and mutationOptions
methods are not available on tRPC procedures, causing TypeScript errors.
@trpc/tanstack-react-query
: ^11.4.3@tanstack/react-query
: ^5.79.0@trpc/client
: ^11.4.3@trpc/server
: ^11.4.3