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

injectqueryoptions.md

22 lines443 Bytes

1---
2id: InjectQueryOptions
3title: InjectQueryOptions
4---
5​
6# Interface: InjectQueryOptions
7​
8## Properties
9​
10### injector?
11​
12```ts
13optional injector: Injector;
14```
15​
16The `Injector` in which to create the query.
17​
18If this is not provided, the current injection context will be used instead (via `inject`).
19​
20#### Defined in
21​
22[inject-query.ts:26](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L26)