Skip to content

Commit

Permalink
Add Promise.withResolvers to custom JS (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Nov 28, 2023
1 parent fcf1017 commit 87ab055
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions custom/js.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
"InternalError": {
"ctor": {}
},
"Promise": {
"__comment": "Remove when https://tc39.es/proposal-promise-with-resolvers/#sec-promise.withResolvers is merged into the main ECMAScript spec.",
"members": {
"static": ["withResolvers"]
}
},
"RegExp": {
"members": {
"static": [
Expand Down

0 comments on commit 87ab055

Please sign in to comment.