Download react-query/examples/angular/pagination/src/app/app.config.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 543 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/pagination/src/app/app.config.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/pagination/src/app/app.config.ts
-
curl -L -o app.config.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/pagination/src/app/app.config.ts
543 Bytes
| import { | |
| provideHttpClient, | |
| withFetch, | |
| withInterceptors, | |
| } from '@angular/common/http' | |
| import { | |
| QueryClient, | |
| provideTanStackQuery, | |
| withDevtools, | |
| } from '@tanstack/angular-query-experimental' | |
| import { projectsMockInterceptor } from './api/projects-mock.interceptor' | |
| import type { ApplicationConfig } from '@angular/core' | |
| export const appConfig: ApplicationConfig = { | |
| providers: [ | |
| provideHttpClient(withInterceptors([projectsMockInterceptor]), withFetch()), | |
| provideTanStackQuery(new QueryClient(), withDevtools()), | |
| ], | |
| } | |