Skip to content
tRPC

Partners

Type Alias: DecorateProcedure<TType, TDef>

On this page

DecorateProcedure<TType, TDef>: TType extends "query" ? DecorateQueryProcedure<TDef> & TDef["input"] extends OptionalCursorInput ? DecorateInfiniteQueryProcedure<TDef> : Record<string, never> : TType extends "mutation" ? DecorateMutationProcedure<TDef> : TType extends "subscription" ? DecorateSubscriptionProcedure<TDef> : never

Defined in: tanstack-react-query/src/internals/createOptionsProxy.ts:276

The helpers for a procedure of the given type.

Type Parameters

Type Parameter
TType extends TRPCProcedureType
TDef extends ResolverDef