Closed
Description
Hello !
First of all, thanks for your work on these bindings !
Because of the default
scope:
@module("react-native-image-picker") @scope("default")
external launchCamera: (Options.t, response => unit) => unit = "launchCamera"
@module("react-native-image-picker") @scope("default")
external showImagePicker: (Options.t, response => unit) => unit = "showImagePicker"
@module("react-native-image-picker") @scope("default")
external launchImageLibrary: (Options.t, response => unit) => unit = "launchImageLibrary"
Rescript get transpiled to:
ReactNativeImagePicker.default.whatever
But as Rescript-React-Native/Template
comes with ES6
:
"package-specs": {
"module": "es6",
"in-source": true
},
Shouldn't the @scope("default")
be remove ?
Metadata
Metadata
Assignees
Labels
No labels