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

injectqueryoptions.md

24 lines650 Bytes

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`).