inferReactQueryProcedureOptions<TRouter, TPath>
<
TRouter
,TPath
>{ [TKey in keyof TRouter["_def"]["record"]]: TRouter["_def"]["record"][TKey] extends infer TRouterOrProcedure ? TRouterOrProcedure extends AnyRouter ? inferReactQueryProcedureOptions<TRouterOrProcedure,
${TPath}${TKey & string}.> : TRouterOrProcedure extends AnyMutationProcedure ? InferMutationOptions<TRouterOrProcedure> : TRouterOrProcedure extends AnyQueryProcedure ? InferQueryOptions<TRouterOrProcedure,
${TPath}${TKey & string}> : never : never }
Type parameters
TRouter
extendsAnyRouter
TPath
extendsstring
=""
Defined in: packages/react-query/src/utils/inferReactQueryProcedure.ts:66