fix: TS6385. Change HttpClientModule to provideHttpClient

This commit is contained in:
Polianin Nikita 2024-06-10 21:48:32 +03:00
parent f3e707a31a
commit 922d238a05

View File

@ -3,7 +3,8 @@ import { provideRouter } from '@angular/router';
import { routes } from './app.routes';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import {provideHttpClient} from "@angular/common/http";
export const appConfig: ApplicationConfig = {
providers: [provideRouter(routes), provideAnimationsAsync()]
providers: [provideRouter(routes), provideAnimationsAsync(), provideHttpClient()]
};