File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1+ import type {
2+ AsyncStorageHook ,
3+ AsyncStorageStatic ,
4+ } from '../lib/typescript/types' ;
5+
6+ export function useAsyncStorage ( key : string ) : AsyncStorageHook ;
7+
8+ declare const AsyncStorage : AsyncStorageStatic ;
9+ export default AsyncStorage ;
Original file line number Diff line number Diff line change 11import AsyncStorage from './AsyncStorage' ;
2- import type { AsyncStorageHook , AsyncStorageStatic } from './types' ;
32
43export { useAsyncStorage } from './hooks' ;
5- export type { AsyncStorageStatic } from './types' ;
64
75export default AsyncStorage ;
8-
9- // @ts -ignore AsyncStorage mock module
10- declare module '@react-native-async-storage/async-storage/jest/async-storage-mock' {
11- export function useAsyncStorage ( key : string ) : AsyncStorageHook ;
12- const AsyncStorageLib : AsyncStorageStatic ;
13- export default AsyncStorageLib ;
14- }
You can’t perform that action at this time.
0 commit comments