core-js: Declare globals with 'var' to avoid conflicts (#15362)

This commit is contained in:
Andy
2017-03-24 12:38:34 -07:00
committed by GitHub
parent 34f3bdb7ef
commit f8493b7b8f
+2 -2
View File
@@ -324,7 +324,7 @@ interface Log extends Console {
/**
* Non-standard.
*/
declare const log: Log;
declare var log: Log;
// #############################################################################################
// Dict - https://github.com/zloirock/core-js/#dict
@@ -371,7 +371,7 @@ interface DictConstructor {
/**
* Non-standard.
*/
declare const Dict: DictConstructor;
declare var Dict: DictConstructor;
// #############################################################################################
// Partial application - https://github.com/zloirock/core-js/#partial-application