-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* Values of ngDevMode | ||
* Depending on the current state of the application, ngDevMode may have one of several values. | ||
* | ||
* For convenience, the “truthy” value which enables dev mode is also an object which contains | ||
* Angular’s performance counters. This is not necessary, but cuts down on boilerplate for the | ||
* perf counters. | ||
* | ||
* ngDevMode may also be set to false. This can happen in one of a few ways: | ||
* - The user explicitly sets `window.ngDevMode = false` somewhere in their app. | ||
* - The user calls `enableProdMode()`. | ||
* - The URL contains a `ngDevMode=false` text. | ||
* Finally, ngDevMode may not have been defined at all. | ||
* | ||
* | ||
* This will be provided through Terser global definitions by Angular CLI. This will | ||
* help to tree-shake away the code unneeded for production bundles. | ||
*/ | ||
declare const ngDevMode: boolean | {} | undefined | null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters