@@ -2,15 +2,15 @@ import {
22 InjectionToken , Inject , isDevMode , ModuleWithProviders , NgModule , NgZone , Optional , PLATFORM_ID , VERSION as NG_VERSION , Version
33} from '@angular/core' ;
44import firebase from 'firebase/compat/app' ;
5- import { FirebaseOptions , FirebaseAppConfig } from 'firebase/app' ;
5+ import { FirebaseOptions , FirebaseAppSettings } from 'firebase/app' ;
66import { VERSION } from '@angular/fire' ;
77import { FirebaseApp } from './firebase.app' ;
88
99export const FIREBASE_OPTIONS = new InjectionToken < FirebaseOptions > ( 'angularfire2.app.options' ) ;
1010export const FIREBASE_APP_NAME = new InjectionToken < string | undefined > ( 'angularfire2.app.name' ) ;
1111
1212
13- export function ɵfirebaseAppFactory ( options : FirebaseOptions , zone : NgZone , nameOrConfig ?: string | FirebaseAppConfig | null ) {
13+ export function ɵfirebaseAppFactory ( options : FirebaseOptions , zone : NgZone , nameOrConfig ?: string | FirebaseAppSettings | null ) {
1414 const name = typeof nameOrConfig === 'string' && nameOrConfig || '[DEFAULT]' ;
1515 const config = typeof nameOrConfig === 'object' && nameOrConfig || { } ;
1616 config . name = config . name || name ;
@@ -48,7 +48,7 @@ const FIREBASE_APP_PROVIDER = {
4848 providers : [ FIREBASE_APP_PROVIDER ]
4949} )
5050export class AngularFireModule {
51- static initializeApp ( options : FirebaseOptions , nameOrConfig ?: string | FirebaseAppConfig ) : ModuleWithProviders < AngularFireModule > {
51+ static initializeApp ( options : FirebaseOptions , nameOrConfig ?: string | FirebaseAppSettings ) : ModuleWithProviders < AngularFireModule > {
5252 return {
5353 ngModule : AngularFireModule ,
5454 providers : [
0 commit comments