1- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
1+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
22external getItem : string => Js . Promise . t (Js . Null . t (string )) = "getItem" ;
33
4- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
4+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
55external setItem : (string , string ) => Js . Promise . t (unit ) = "setItem" ;
66
7- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
7+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
88external removeItem : string => Js . Promise . t (unit ) = "removeItem" ;
99
10- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
10+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
1111external mergeItem : (string , string ) => Js . Promise . t (unit ) = "mergeItem" ;
1212
13- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
13+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
1414external clear : unit => Js . Promise . t (unit ) = "clear" ;
1515
16- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
16+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
1717external getAllKeys : unit => Js . Promise . t (Js . Null . t (array (string ))) =
1818 "getAllKeys" ;
1919
20- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
20+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
2121external multiGet :
2222 array (string ) => Js . Promise . t (array ((string , Js . Null . t (string )))) =
2323 "multiGet" ;
2424
25- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
25+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
2626external multiSet : array ((string , string )) => Js . Promise . t (unit ) =
2727 "multiSet" ;
2828
29- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
29+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
3030external multiMerge : array ((string , string )) => Js . Promise . t (unit ) =
3131 "multiMerge" ;
3232
33- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
33+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
3434external multiRemove : array (string ) => Js . Promise . t (unit ) = "multiRemove" ;
3535
36- [@ bs . scope "default" ] [@ bs . module "@react-native-community /async-storage" ]
36+ [@ bs . scope "default" ] [@ bs . module "@react-native-async-storage /async-storage" ]
3737external flushGetRequests : unit => unit = "flushGetRequests" ;
3838
3939type asyncStorageState = {
@@ -44,5 +44,5 @@ type asyncStorageState = {
4444 [@bs.meth] "removeItem": unit => Js . Promise . t (unit ),
4545};
4646
47- [@ bs . module "@react-native-community /async-storage" ]
47+ [@ bs . module "@react-native-async-storage /async-storage" ]
4848external useAsyncStorage : string => asyncStorageState = "useAsyncStorage" ;
0 commit comments