Open History to see the last commit
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`). |