-
Notifications
You must be signed in to change notification settings - Fork 44
Update to ReScript 12 #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| @@ -0,0 +1,57 @@ | |||
| // Generated by ReScript, PLEASE EDIT WITH CARE | |||
|
|
|||
| import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is why I added @rescript/runtime to the dependencies.
I think it is correct to do so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would making @rescript/runtime a peer dependency work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, the reason I want to be explicit with "@rescript/runtime" is that I see this popping up in isolated installs.
| "sources": [{ "dir": "src", "subdirs": true }], | ||
| "package-specs": [{ "module": "commonjs", "in-source": true }], | ||
| "suffix": ".bs.js", | ||
| "bs-dev-dependencies": [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rescript-lang/rescript#8196 brought me here
| let safeMakeEvent = eventName => | ||
| if Js.typeof(event) == "function" { | ||
| if typeof(event) == #function { | ||
| makeEventIE11Compatible(eventName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope we no longer care about IE11?
mediremi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✔️
I would like to start creating some alphas of a v12+ world