Closed louy2 closed 1 year ago
In page Interop · Reason, under section Settling down and getting disciplined about things, the code shows:
[@bs.send] external getContext : (canvas, string) => context = "getContext";
But the documentation below says:
Then we made a getContext function, but instead of @bs.val we used @bs.send, and we used an empty string for the text of the external. [emphasis mine]
getContext
@bs.val
@bs.send
This isn't part of reason anymore
In page Interop · Reason, under section Settling down and getting disciplined about things, the code shows:
But the documentation below says: