Skip to content

Commit 92f3809

Browse files
mochiya98Josh Crowther
authored andcommitted
Fix implicit global variable (#610)
1 parent 1608edb commit 92f3809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/polyfill/src/polyfills/promise.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ if (typeof Promise === 'undefined') {
3232
// HACK: TS throws an error if I attempt to use 'dot-notation'
3333
__global[
3434
'Promise'
35-
] = Promise = require('promise-polyfill') as PromiseConstructor;
35+
] = require('promise-polyfill') as PromiseConstructor;
3636
}

0 commit comments

Comments
 (0)