From c7d0567d37f0590108d2f89626b0f7215d3b3adb Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Tue, 3 Mar 2020 08:54:25 -0800 Subject: [PATCH] Revert "docs: add comment markers for internal goog.define replacement (#32795)" (#35830) This reverts commit 32b6c2285e9b3cdcc860e6e87092b54865e12694 as this is no longer used. PR Close #35830 --- packages/core/src/util/ng_dev_mode.ts | 3 --- packages/core/src/util/ng_i18n_closure_mode.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/packages/core/src/util/ng_dev_mode.ts b/packages/core/src/util/ng_dev_mode.ts index 119c391f96..16bc5f4477 100644 --- a/packages/core/src/util/ng_dev_mode.ts +++ b/packages/core/src/util/ng_dev_mode.ts @@ -8,9 +8,6 @@ import {global} from './global'; -// Do not remove: needed for closure to be able to properly tree-shake ngDevMode. -// goog.define - declare global { /** * Values of ngDevMode diff --git a/packages/core/src/util/ng_i18n_closure_mode.ts b/packages/core/src/util/ng_i18n_closure_mode.ts index 5e784defdf..a966565819 100644 --- a/packages/core/src/util/ng_i18n_closure_mode.ts +++ b/packages/core/src/util/ng_i18n_closure_mode.ts @@ -8,9 +8,6 @@ import {global} from './global'; -// Do not remove: needed for closure to be able to properly tree-shake ngI18nClosureMode. -// goog.define - declare global { const ngI18nClosureMode: boolean; }