docs: add comment markers for internal goog.define replacement (#32795)

This is needed for closure to properly tree-shake ngDevMode and ngI18nClosureMode.

PR Close #32795
This commit is contained in:
Andrew Scott 2019-09-20 13:16:39 -07:00 committed by Andrew Kushnir
parent 86fd5719b5
commit 32b6c2285e
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,9 @@
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

View File

@ -8,6 +8,9 @@
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;
}