Type alias MutationFn<TMode, TAbi, TFunctionName, TReturnType>
MutationFn<TMode, TAbi, TFunctionName, TReturnType>: TMode extends "prepared"
? (() => TReturnType) | undefined
: ((config?) => TReturnType)
Type Parameters
TAbi extends Abi | readonly unknown[]
TFunctionName extends string
TReturnType