skip to Main Content

Argument of type 'EnvironmentProviders' is not assignable to parameter of type 'ImportProvidersSource'.ts(2345) in Angular Firebase project

I am working on an Angular project that is deployed on Firebase. All the tutorials about Firebase suggest the following way to store Firebase in the app.config.ts: export const appConfig: ApplicationConfig = { providers: [ importProvidersFrom( provideFirebaseApp(() => initializeApp(environment.firebase)), /*…

VIEW QUESTION
Back To Top
Search