From 3c3da3a2e2e8de264108db3b536586fabd05318d Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 27 Nov 2023 20:01:33 +0100 Subject: [PATCH] Add Promise.withResolvers to custom JS --- custom/js.json | 6 ++++++ 1 file changed, 6 insertions(+) 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": [