From 7a43943a9f5a0d07a415e6be85948f91ec0ec760 Mon Sep 17 00:00:00 2001 From: Arturo Date: Thu, 10 May 2018 22:56:42 +0200 Subject: [PATCH] add _Promise_ to whitelisted globals --- src/utils/globalWhitelist.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/globalWhitelist.ts b/src/utils/globalWhitelist.ts index 1c248bda1f..78cbf0d9df 100644 --- a/src/utils/globalWhitelist.ts +++ b/src/utils/globalWhitelist.ts @@ -19,6 +19,7 @@ export default new Set([ 'Object', 'parseFloat', 'parseInt', + 'Promise', 'RegExp', 'Set', 'String',