mirror of
https://github.com/TanStack/query.git
synced 2026-11-18 19:33:22 +00:00
* docs(solid-query): add JSDoc across the package * docs(solid-query): generate reference docs with TypeDoc * docs(config): register solid-query TypeDoc reference pages * docs(solid-query): correct inaccurate JSDoc statements flagged in review
759 B
759 B
| id | title |
|---|---|
| MutationOptions | MutationOptions |
Defined in: types.ts:241
The options accepted by useMutation and mutationOptions.
Extends
OmitKeyof<MutationObserverOptions<TData,TError,TVariables,TOnMutateResult>,"_defaulted">
Type Parameters
TData
TData = unknown
The type your mutationFn resolves to.
TError
TError = DefaultError
The type of errors your mutationFn may throw.
TVariables
TVariables = void
The type of the variables your mutationFn accepts.
TOnMutateResult
TOnMutateResult = unknown
The type returned by onMutate, passed on to onSuccess/onError/onSettled.