Skip to content

Commit 87ab055

Browse files
authored
Add Promise.withResolvers to custom JS (#892)
1 parent fcf1017 commit 87ab055

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

custom/js.json

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
"InternalError": {
2323
"ctor": {}
2424
},
25+
"Promise": {
26+
"__comment": "Remove when https://tc39.es/proposal-promise-with-resolvers/#sec-promise.withResolvers is merged into the main ECMAScript spec.",
27+
"members": {
28+
"static": ["withResolvers"]
29+
}
30+
},
2531
"RegExp": {
2632
"members": {
2733
"static": [

0 commit comments

Comments
 (0)