fork of hey-api/openapi-ts because I need some additional things
at main 22 lines 750 B view raw
1import { provideHttpClient, withFetch } from '@angular/common/http'; 2import type { ApplicationConfig } from '@angular/core'; 3import { provideZoneChangeDetection } from '@angular/core'; 4import { 5 provideClientHydration, 6 withEventReplay, 7} from '@angular/platform-browser'; 8import { provideRouter } from '@angular/router'; 9 10import { client } from '../client/client.gen'; 11import { provideHeyApiClient } from '../client/client/client.gen'; 12import { routes } from './app.routes'; 13 14export const appConfig: ApplicationConfig = { 15 providers: [ 16 provideZoneChangeDetection({ eventCoalescing: true }), 17 provideRouter(routes), 18 provideClientHydration(withEventReplay()), 19 provideHttpClient(withFetch()), 20 provideHeyApiClient(client), 21 ], 22};