Type alias MutateFunction<TData, TError, TVariables, TContext>

MutateFunction<TData, TError, TVariables, TContext>: ((variables, options?) => Promise<TData>)

Type Parameters

  • TData = unknown

  • TError = unknown

  • TVariables = void

  • TContext = unknown

Type declaration

    • (variables, options?): Promise<TData>
    • Parameters

      • variables: TVariables
      • Optional options: MutateOptions<TData, TError, TVariables, TContext>

      Returns Promise<TData>