File tree 2 files changed +5
-9
lines changed 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -124,9 +124,9 @@ export class FirebaseAppImpl implements FirebaseApp {
124
124
this . checkDestroyed_ ( ) ;
125
125
126
126
// getImmediate will always succeed because _getService is only called for registered components.
127
- return this . container . getProvider ( name as Name ) . getImmediate ( {
127
+ return ( this . container . getProvider ( name as Name ) . getImmediate ( {
128
128
identifier : instanceIdentifier
129
- } ) as unknown as FirebaseService ;
129
+ } ) as unknown ) as FirebaseService ;
130
130
}
131
131
/**
132
132
* Remove a service instance from the cache, so we will create a new instance for this service
Original file line number Diff line number Diff line change @@ -134,13 +134,9 @@ export class FirebaseAppLiteImpl implements FirebaseApp {
134
134
this . checkDestroyed_ ( ) ;
135
135
136
136
// getImmediate will always succeed because _getService is only called for registered components.
137
- return (
138
- this . container
139
- . getProvider ( name as Name )
140
- . getImmediate ( {
141
- identifier : instanceIdentifier
142
- } ) as unknown as FirebaseService
143
- ) ;
137
+ return ( this . container . getProvider ( name as Name ) . getImmediate ( {
138
+ identifier : instanceIdentifier
139
+ } ) as unknown ) as FirebaseService ;
144
140
}
145
141
146
142
/**
You can’t perform that action at this time.
0 commit comments