Skip to content

Commit 117f886

Browse files
committed
remove unecessary [@bs.string]
1 parent 7510da3 commit 117f886

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/ReactNativeNetInfo.re

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ external fetch: unit => Js.Promise.t(netInfoState) = "fetch";
8686

8787
[@bs.module "@react-native-community/netinfo"]
8888
external 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"]

src/ReactNativeNetInfo.rei

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ external fetch: unit => Js.Promise.t(netInfoState) = "fetch";
8686

8787
[@bs.module "@react-native-community/netinfo"]
8888
external 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"]

0 commit comments

Comments
 (0)