docs(core): fixes minor typo in initNgDevMode function docs (#38042)
PR Close #38042
This commit is contained in:
parent
5fd2c8f2d6
commit
f4fac406b9
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue