File tree 4 files changed +4
-8
lines changed
installations-compat/src/testing
remote-config-compat/test
4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { FirebaseApp } from '@firebase/app-compat' ;
19
- import { _FirebaseAppInternal } from '@firebase/app-exp' ;
20
19
import { FirebaseInstallations } from '@firebase/installations-exp' ;
21
20
22
21
const appName = 'testApp' ;
@@ -39,7 +38,7 @@ export function getFakeApp(): FirebaseApp {
39
38
automaticDataCollectionEnabled : true ,
40
39
delete : async ( ) => { } ,
41
40
installations : ( ( ) => null as unknown ) as any ,
42
- _delegate : { } as _FirebaseAppInternal
41
+ _delegate : { } as any
43
42
} ;
44
43
}
45
44
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { FirebaseApp } from '@firebase/app-compat' ;
19
- import { _FirebaseAppInternal } from '@firebase/app-exp' ;
20
19
import { FirebaseMessaging } from '@firebase/messaging-exp' ;
21
20
22
21
export function getFakeApp ( ) : FirebaseApp {
@@ -34,7 +33,7 @@ export function getFakeApp(): FirebaseApp {
34
33
automaticDataCollectionEnabled : true ,
35
34
delete : async ( ) => { } ,
36
35
messaging : ( ( ) => null as unknown ) as FirebaseApp [ 'messaging' ] ,
37
- _delegate : { } as _FirebaseAppInternal
36
+ _delegate : { } as any
38
37
} ;
39
38
}
40
39
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { FirebaseApp } from '@firebase/app-compat' ;
19
- import { _FirebaseAppInternal } from '@firebase/app-exp' ;
20
19
import {
21
20
FirebasePerformance ,
22
21
PerformanceTrace
@@ -36,7 +35,7 @@ export function getFakeApp(): FirebaseApp {
36
35
} ,
37
36
automaticDataCollectionEnabled : true ,
38
37
delete : async ( ) => { } ,
39
- _delegate : { } as _FirebaseAppInternal
38
+ _delegate : { } as any
40
39
} ;
41
40
}
42
41
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { FirebaseApp } from '@firebase/app-compat' ;
19
- import { _FirebaseAppInternal } from '@firebase/app-exp' ;
20
19
import { RemoteConfig } from '@firebase/remote-config-exp' ;
21
20
22
21
export function getFakeApp ( ) : FirebaseApp {
@@ -34,7 +33,7 @@ export function getFakeApp(): FirebaseApp {
34
33
automaticDataCollectionEnabled : true ,
35
34
delete : async ( ) => { } ,
36
35
remoteConfig : ( ( ) => null as unknown ) as FirebaseApp [ 'remoteConfig' ] ,
37
- _delegate : { } as _FirebaseAppInternal
36
+ _delegate : { } as any
38
37
} ;
39
38
}
40
39
You can’t perform that action at this time.
0 commit comments