1
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
1
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
2
2
external getItem : string => Js . Promise . t (Js . Null . t (string )) = "getItem" ;
3
3
4
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
4
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
5
5
external setItem : (string , string ) => Js . Promise . t (unit ) = "setItem" ;
6
6
7
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
7
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
8
8
external removeItem : string => Js . Promise . t (unit ) = "removeItem" ;
9
9
10
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
10
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
11
11
external mergeItem : (string , string ) => Js . Promise . t (unit ) = "mergeItem" ;
12
12
13
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
13
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
14
14
external clear : unit => Js . Promise . t (unit ) = "clear" ;
15
15
16
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
16
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
17
17
external getAllKeys : unit => Js . Promise . t (Js . Null . t (array (string ))) =
18
18
"getAllKeys" ;
19
19
20
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
20
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
21
21
external multiGet :
22
22
array (string ) => Js . Promise . t (array ((string , Js . Null . t (string )))) =
23
23
"multiGet" ;
24
24
25
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
25
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
26
26
external multiSet : array ((string , string )) => Js . Promise . t (unit ) =
27
27
"multiSet" ;
28
28
29
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
29
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
30
30
external multiMerge : array ((string , string )) => Js . Promise . t (unit ) =
31
31
"multiMerge" ;
32
32
33
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
33
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
34
34
external multiRemove : array (string ) => Js . Promise . t (unit ) = "multiRemove" ;
35
35
36
- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
36
+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
37
37
external flushGetRequests : unit => unit = "flushGetRequests" ;
38
38
39
39
type asyncStorageState = {
@@ -44,5 +44,5 @@ type asyncStorageState = {
44
44
[@bs.meth] "removeItem": unit => Js . Promise . t (unit ),
45
45
};
46
46
47
- [@ bs . module "@react-native-community /async-storage" ]
47
+ [@ bs . module "@react-native-async-storage /async-storage" ]
48
48
external useAsyncStorage : string => asyncStorageState = "useAsyncStorage" ;
0 commit comments