Open
Description
I installed this via https://github.com/draftbit/bs-storybook to workaround #13. I am only attempting to write the basic story example when running into this error.
3 │ let _module = %bs.raw("module")
4 │
5 │ storiesOf("My First Reason Story", _module)->add("Chapter I", () =>
6 │ <span> {React.string("Hello bs-storybook!")} </span>
7 │ )
Toplevel expression is expected to have unit type.
FAILED: cannot make progress due to previous errors.
>>>> Finish compiling(exit: 1)
The word add
on line 5 is what's highlighted in the error by the ReScript compiler
Using "bs-platform": "^8.4.2",
Metadata
Metadata
Assignees
Labels
No labels