Open History to see the last commit
1import {
2 provideHttpClient,
3 withFetch,
4 withInterceptors,
5} from '@angular/common/http'
6import {
7 QueryClient,
8 provideTanStackQuery,
9} from '@tanstack/angular-query-experimental'
10import { withDevtools } from '@tanstack/angular-query-experimental/devtools'
11import { projectsMockInterceptor } from './api/projects-mock.interceptor'
12import type { ApplicationConfig } from '@angular/core'
13β
14export const appConfig: ApplicationConfig = {
15 providers: [
16 provideHttpClient(withInterceptors([projectsMockInterceptor]), withFetch()),
17 provideTanStackQuery(new QueryClient(), withDevtools()),
18 ],
19}