Init rescript react native with the latest version. Then install react-native-webview & rescript-react-native/webview and build
Expected behavior
Build successfully
Actual behavior
FAILED: src/ReactNativeWebView.cmj
We've found a bug for you!
/Users/w/Documents/projects/Countube/node_modules/@rescript-react-native/webview/src/ReactNativeWebView.res:81:23-34
79 │
80 │ module WebViewErrorEvent = {
81 │ type payload = Js.t<webViewError>
82 │ include Event.SyntheticEvent({
83 │ type _payload = payload
This type webViewError should be an instance of type {..}
FAILED: cannot make progress due to previous errors.
Failure: /Users/w/Documents/projects/Countube/node_modules/rescript/darwin/ninja.exe
Location: /Users/w/Documents/projects/Countube/node_modules/@rescript-react-native/webview/lib/bs
error Command failed with exit code 2.
The problem
Build error
How to reproduce
Steps to reproduce:
react-native-webview
&rescript-react-native/webview
and buildExpected behavior
Build successfully
Actual behavior
Environment