fix: TS6385. Change HttpClientModule to provideHttpClient
This commit is contained in:
parent
f3e707a31a
commit
922d238a05
@ -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()]
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user