Skip to content
tRPC

Partners

Type Alias: ~~inferReactQueryProcedureOptions<TRouter>~~

On this page

inferReactQueryProcedureOptions<TRouter>: inferReactQueryProcedureOptionsInner<TRouter["_def"]["_config"]["$types"], TRouter["_def"]["record"]>

Defined in: packages/react-query/src/utils/inferReactQueryProcedure.ts:98

Infers the hook options of every query and mutation procedure in a router.

Type Parameters

Type Parameter
TRouter extends AnyRouter

Deprecated

@trpc/react-query only gets bug fixes and will be removed in the next major version. Use @trpc/tanstack-react-query instead.

See