File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,10 @@ import analytics, {
6161 setConsent ,
6262 settings ,
6363} from '../lib' ;
64+ import '../lib/types.d.ts' ;
6465
65- import { createCheckV9Deprecation } from '@react-native-firebase/app/common/unitTestUtils' ;
66- import type { CheckV9DeprecationFunction } from '@react-native-firebase/app/common/unitTestUtils' ;
66+ import { createCheckV9Deprecation } from '@react-native-firebase/app/lib/ common/unitTestUtils' ;
67+ import type { CheckV9DeprecationFunction } from '@react-native-firebase/app/lib/ common/unitTestUtils' ;
6768
6869describe ( 'Analytics' , function ( ) {
6970 describe ( 'namespace' , function ( ) {
Original file line number Diff line number Diff line change @@ -15,8 +15,14 @@ declare module '@react-native-firebase/app/lib/common' {
1515declare module '@react-native-firebase/app/lib/common/unitTestUtils' {
1616 export const getFirebaseApp : ( ) => any ;
1717 export const getMockNativeModule : ( name : string ) => any ;
18- export function createCheckV9Deprecation ( moduleName : string ) : CheckV9DeprecationFunction ;
19- export type CheckV9DeprecationFunction = ( methodName : string ) => void ;
18+ export function createCheckV9Deprecation ( moduleNames : string [ ] ) : CheckV9DeprecationFunction ;
19+ export type CheckV9DeprecationFunction = (
20+ modularFunction : ( ) => void ,
21+ nonModularFunction : ( ) => void ,
22+ methodNameKey : string ,
23+ uniqueMessage ?: string | null ,
24+ ignoreFirebaseAppDeprecationWarning ?: boolean ,
25+ ) => void ;
2026}
2127
2228declare module '@react-native-firebase/app/lib/common/validate' {
You can’t perform that action at this time.
0 commit comments