File tree 5 files changed +8
-11
lines changed
auth-exp/src/core/persistence
5 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 22
22
* just use index.ts
23
23
*/
24
24
25
- import { testFxn } from './src' ;
26
25
import { AsyncStorage } from 'react-native' ;
27
- import { ReactNativePersistence } from '@firebase/auth-exp/src/core/persistence/react ' ;
26
+ import { ReactNativePersistence } from '@firebase/auth-exp/src/core/persistence/react_native ' ;
28
27
29
28
const _reactNativeLocalPersistence = new ReactNativePersistence ( AsyncStorage ) ;
30
-
31
- testFxn ( ) ;
Original file line number Diff line number Diff line change 27
27
28
28
declare module 'react-native' {
29
29
interface ReactNativeAsyncStorage {
30
- setItem : ( key : string , value : string ) => Promise < void >
31
- getItem : ( key : string ) => Promise < string | null >
32
- removeItem : ( key : string ) => Promise < void >
30
+ setItem ( key : string , value : string ) : Promise < void >
31
+ getItem ( key : string ) : Promise < string | null >
32
+ removeItem ( key : string ) : Promise < void >
33
33
}
34
34
export const AsyncStorage : ReactNativeAsyncStorage ;
35
35
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { expect } from 'chai';
19
19
20
20
import { testUser } from '../../../test/mock_auth' ;
21
21
import { PersistedBlob , PersistenceType } from './' ;
22
- import { ReactNativePersistence } from './react ' ;
22
+ import { ReactNativePersistence } from './react_native ' ;
23
23
import { ReactNativeAsyncStorage } from '@firebase/auth-types-exp' ;
24
24
25
25
/**
File renamed without changes.
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
export interface ReactNativeAsyncStorage {
19
- setItem : ( key : string , value : string ) => Promise < void >
20
- getItem : ( key : string ) => Promise < string | null >
21
- removeItem : ( key : string ) => Promise < void >
19
+ setItem ( key : string , value : string ) : Promise < void >
20
+ getItem ( key : string ) : Promise < string | null >
21
+ removeItem ( key : string ) : Promise < void >
22
22
}
You can’t perform that action at this time.
0 commit comments