-
Notifications
You must be signed in to change notification settings - Fork 455
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
Add bindings to Promise.allSettled
#6137
Conversation
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.
Nice! This should go in https://github.com/rescript-association/rescript-core eventually, but we haven't formulated a v11 strategy for that just yet, and since this won't work without v11, we probably need to do that before.
Pressed the wrong button, but this looks good to me! |
I see, I will make PR to |
|
Can you expand? Not sure genType is up to date with all the latest changes on variants. In any case "make test-gentype" should give the current status. |
jscomp/gentype_tests/typescript-react-example/src/TestPromise.gen.tsx
Outdated
Show resolved
Hide resolved
@cometkim I've extended the PR by adding the missing support for |
Resolves rescript-lang#5923 Signed-Off-By: Hyeseong Kim <[email protected]>
rebased |
@zth suggestions on how to proceed with this? |
Moved to rescript-lang/rescript-core#204 |
Ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled
Resolves #5923