File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,7 @@ external fetch: unit => Js.Promise.t(netInfoState) = "fetch";
8686
8787[@ bs . module "@react-native-community/netinfo" ]
8888external fetchInterface :
89- ([@ bs . string ] [ | ` cellular | ` ethernet | ` wifi ] ) =>
90- Js . Promise . t (netInfoState ) =
89+ [ | ` cellular | ` ethernet | ` wifi ] => Js . Promise . t (netInfoState ) =
9190 "fetch" ;
9291
9392[@ bs . module "@react-native-community/netinfo" ]
Original file line number Diff line number Diff line change @@ -86,8 +86,7 @@ external fetch: unit => Js.Promise.t(netInfoState) = "fetch";
8686
8787[@ bs . module "@react-native-community/netinfo" ]
8888external fetchInterface :
89- ([@ bs . string ] [ | ` cellular | ` ethernet | ` wifi ] ) =>
90- Js . Promise . t (netInfoState ) =
89+ [ | ` cellular | ` ethernet | ` wifi ] => Js . Promise . t (netInfoState ) =
9190 "fetch" ;
9291
9392[@ bs . module "@react-native-community/netinfo" ]
You can’t perform that action at this time.
0 commit comments