summaryrefslogtreecommitdiff
path: root/core/internal.d.ts
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2023-03-13 19:24:31 +0900
committerGitHub <noreply@github.com>2023-03-13 19:24:31 +0900
commite5673f5ed85774831234fe70290d5802bbd47c15 (patch)
tree59a8deb3e81bc596ec73afcaae01de9a1cb1e845 /core/internal.d.ts
parentbcb6ee9d0864f490f6da47cbe2593310b21333ff (diff)
fix(core): `SafePromiseAll` to be unaffected by `Array#@@iterator` (#17542)
Diffstat (limited to 'core/internal.d.ts')
-rw-r--r--core/internal.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/internal.d.ts b/core/internal.d.ts
index a91ac6244..e34cfbe71 100644
--- a/core/internal.d.ts
+++ b/core/internal.d.ts
@@ -75,6 +75,10 @@ declare namespace __bootstrap {
typeof globalThis.FinalizationRegistry;
export const SafeWeakRef: typeof globalThis.WeakRef;
export const SafePromiseAll: typeof Promise.all;
+ // NOTE: Uncomment the following functions when you need to use them
+ // export const SafePromiseAllSettled: typeof Promise.allSettled;
+ // export const SafePromiseAny: typeof Promise.any;
+ // export const SafePromiseRace: typeof Promise.race;
export const SafePromisePrototypeFinally: UncurryThis<
Promise.prototype.finally
>;