Skip to main content
Version: 11.x

Type Alias: InferMutationLikeInput<TMutationLike>

InferMutationLikeInput<TMutationLike>: TMutationLike extends MutationLike<any, infer $Procedure> ? inferProcedureInput<$Procedure> : never

Use to unwrap a MutationLike's input

Type Parameters

Type Parameter
TMutationLike extends MutationLike<any, any>

Defined in

packages/react-query/src/shared/polymorphism/mutationLike.ts:27