Open History to see the last commit
1---
2id: provideAngularQuery
3title: provideAngularQuery
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8# Function: ~~provideAngularQuery()~~
9β
10```ts
11function provideAngularQuery(queryClient): Provider[]
12```
13β
14Defined in: [providers.ts:124](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/providers.ts#L124)
15β
16Sets up providers necessary to enable TanStack Query functionality for Angular applications.
17β
18Allows to configure a `QueryClient`.
19β
20## Parameters
21β
22### queryClient
23β
24`QueryClient`
25β
26A `QueryClient` instance.
27β
28## Returns
29β
30`Provider`[]
31β
32A set of providers to set up TanStack Query.
33β
34## See
35β
36https://tanstack.com/query/v5/docs/framework/angular/quick-start
37β
38## Deprecated
39β
40Use `provideTanStackQuery` instead.