File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ export interface FirebaseAppInternals {
83
83
84
84
export interface _FirebaseApp extends FirebaseApp {
85
85
container : ComponentContainer ;
86
- _addComponent ( component : Component , overwrite ?: boolean ) : void ;
86
+ _addComponent ( component : Component ) : void ;
87
+ _addOrOverwriteComponent ( component : Component ) : void ;
87
88
_removeServiceInstance ( name : string , instanceIdentifier ?: string ) : void ;
88
89
}
89
90
export interface _FirebaseNamespace extends FirebaseNamespace {
Original file line number Diff line number Diff line change @@ -141,9 +141,8 @@ function initializeApp(
141
141
ComponentType . PRIVATE
142
142
) ;
143
143
144
- ( ( app as unknown ) as _FirebaseApp ) . _addComponent (
145
- mockAuthComponent ,
146
- /* overwrite */ true
144
+ ( ( app as unknown ) as _FirebaseApp ) . _addOrOverwriteComponent (
145
+ mockAuthComponent
147
146
) ;
148
147
}
149
148
if ( databaseName ) {
You can’t perform that action at this time.
0 commit comments