diff --git a/custom/js.json b/custom/js.json index 0d53d6ad0..0a4040fbf 100644 --- a/custom/js.json +++ b/custom/js.json @@ -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": [