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

InjectMutationStateOptions.md

17 lines740 Bytes

1---
2id: InjectMutationStateOptions
3title: InjectMutationStateOptions
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8Defined 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)
9​
10Options for `injectMutationState`, passed after the function that returns the mutation state
11options.
12​
13## Properties
14​
15| Property | Type | Description |
16| ------ | ------ | ------ |
17| <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`). |