diff --git a/packages/core/src/util/global.ts b/packages/core/src/util/global.ts index 0910b69fe6..e4f01f5a93 100644 --- a/packages/core/src/util/global.ts +++ b/packages/core/src/util/global.ts @@ -12,8 +12,6 @@ declare var WorkerGlobalScope: any /** TODO #9100 */; // We don't want to include the whole node.d.ts this this compilation unit so we'll just fake // the global "global" var for now. declare var global: any /** TODO #9100 */; -// Not yet available in TypeScript: https://github.com/Microsoft/TypeScript/pull/29332 -declare var globalThis: any /** TODO #9100 */; const __globalThis = typeof globalThis !== 'undefined' && globalThis; const __window = typeof window !== 'undefined' && window; diff --git a/packages/core/test/util/global_spec.ts b/packages/core/test/util/global_spec.ts index 0ea8522378..e7f91e055c 100644 --- a/packages/core/test/util/global_spec.ts +++ b/packages/core/test/util/global_spec.ts @@ -8,9 +8,6 @@ import {global} from '../../src/util/global'; -// Not yet available in TypeScript: https://github.com/Microsoft/TypeScript/pull/29332 -declare var globalThis: any /** TODO #9100 */; - { describe('global', () => { it('should be global this value', () => {