docs(core): fixes minor typo in initNgDevMode function docs (#38042)

PR Close #38042
This commit is contained in:
Sonu Kapoor 2020-07-14 07:48:29 -04:00 committed by Andrew Scott
parent 5fd2c8f2d6
commit f4fac406b9
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ export function ngDevModeResetPerfCounters(): NgDevModePerfCounters {
* (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode
* is defined for the entire instruction set.
*
* When using checking `ngDevMode` on toplevel, always init it before referencing it
* When checking `ngDevMode` on toplevel, always init it before referencing it
* (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can
* get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.
*