File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
reason-react-native/src/apis Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ wip: true
99external registerComponent: (string, unit => React.component('a)) => unit =
1010 "";
1111
12+ type task('data) = 'data => Js.Promise.t(unit);
13+
14+ [@bs.module "react-native"] [@bs.scope "AppRegistry"]
15+ external registerHeadlessTask: (string, unit => task('data)) => unit = "";
16+
1217// react-native-web
1318type app = {
1419 .
Original file line number Diff line number Diff line change 22external registerComponent : (string , unit => React . component (' a )) => unit =
33 "" ;
44
5+ type task (' data ) = 'data => Js . Promise . t(unit);
6+
7+ [@ bs . module "react-native" ] [@ bs . scope "AppRegistry" ]
8+ external registerHeadlessTask : (string , unit => task (' data )) => unit = "" ;
9+
510// react-native-web
611type app = {
712 .
You can’t perform that action at this time.
0 commit comments