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

InjectMutationStateOptions.md

15 lines667 Bytes

1---
2id: InjectMutationStateOptions
3title: InjectMutationStateOptions
4---
5​
6Defined in: [packages/angular-query-experimental/src/inject-mutation-state.ts:51](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-mutation-state.ts#L51)
7​
8Options for `injectMutationState`, passed after the function that returns the mutation state
9options.
10​
11## Properties
12​
13| Property | Type | Description |
14| ------ | ------ | ------ |
15| <a id="property-injector"></a> `injector?` | `Injector` | The `Injector` in which to create the mutation state signal. If this is not provided, the current injection context will be used instead (via `inject`). |