Open History to see the last commit
1---
2id: InjectQueryOptions
3title: InjectQueryOptions
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8# Interface: InjectQueryOptions
9β
10Defined in: [inject-query.ts:20](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L20)
11β
12## Properties
13β
14### injector?
15β
16```ts
17optional injector: Injector;
18```
19β
20Defined in: [inject-query.ts:26](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L26)
21β
22The `Injector` in which to create the query.
23β
24If this is not provided, the current injection context will be used instead (via `inject`).