function createMutation<TData, TError, TVariables, TContext>(
options,
queryClient?,
): CreateMutationResult<TData, TError, TVariables, TContext>
function createMutation<TData, TError, TVariables, TContext>(
options,
queryClient?,
): CreateMutationResult<TData, TError, TVariables, TContext>
• TData = unknown
• TError = Error
• TVariables = void
• TContext = unknown
• options: StoreOrVal<CreateMutationOptions<TData, TError, TVariables, TContext>>
• queryClient?: QueryClient
CreateMutationResult<TData, TError, TVariables, TContext>