Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

CreateMutationResult.md

26 lines840 Bytes

1---
2id: CreateMutationResult
3title: CreateMutationResult
4---
5​
6# Type Alias: CreateMutationResult\<TData, TError, TVariables, TContext, TState\>
7​
8```ts
9type CreateMutationResult<TData, TError, TVariables, TContext, TState>: BaseMutationNarrowing<TData, TError, TVariables, TContext> & MapToSignals<OmitKeyof<TState, keyof BaseMutationNarrowing, "safely">>;
10```
11​
12## Type Parameters
13​
14β€’ **TData** = `unknown`
15​
16β€’ **TError** = `DefaultError`
17​
18β€’ **TVariables** = `unknown`
19​
20β€’ **TContext** = `unknown`
21​
22β€’ **TState** = `CreateStatusBasedMutationResult`\<[`CreateBaseMutationResult`](CreateBaseMutationResult.md)\[`"status"`\], `TData`, `TError`, `TVariables`, `TContext`\>
23​
24## Defined in
25​
26[types.ts:292](https://github.com/TanStack/query/blob/27861961bbb36e9bc25fcd45cff21b5645f02f9b/packages/angular-query-experimental/src/types.ts#L292)