Type alias MutationFunction<TData, TVariables>

MutationFunction<TData, TVariables>: ((variables) => Promise<TData>)

Type Parameters

  • TData = unknown

  • TVariables = unknown

Type declaration

    • (variables): Promise<TData>
    • Parameters

      • variables: TVariables

      Returns Promise<TData>