Hello! This project allows you to quickly get started with Reason and BuckleScript. If you wanted a more sophisticated version, try the react
template (bsb -theme react -init .
).
npm run build
npm run start
npm run server
And go to http://localhost:8000/src
You can comment the:
switch (iframe) {
| Some(iframe) => Js.log(contentWindow(iframe))
| None => ()
};
to see the second error.
Both use Caml_option.some
, the second example is just here to show that it's not only an issue with @bs.return nullable
If you use vscode
, Press Windows + Shift + B
it will build automatically