Libraries
    Preparing search index...

    Type Alias MutationHookOptions<TData, TArgs>

    MutationHookOptions: Omit<
        UseMutationOptions<TData, WebError, TArgs>,
        "mutationFn",
    >

    Options for useMutation hooks, with mutationFn managed automatically.

    Type Parameters

    • TData

      The endpoint's success response type.

    • TArgs

      The endpoint's call arguments type.