MCPcopy
hub / github.com/TanStack/query / mutationOptions

Function mutationOptions

packages/react-query/src/mutationOptions.ts:32–41  ·  view source on GitHub ↗
(
  options: UseMutationOptions<TData, TError, TVariables, TOnMutateResult>,
)

Source from the content-addressed store, hash-verified

30 'mutationKey'
31>
32export function mutationOptions<
33 TData = unknown,
34 TError = DefaultError,
35 TVariables = void,
36 TOnMutateResult = unknown,
37>(
38 options: UseMutationOptions<TData, TError, TVariables, TOnMutateResult>,
39): UseMutationOptions<TData, TError, TVariables, TOnMutateResult> {
40 return options
41}

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…