docs(compiler): fix typos in partial compilation comments (#41080)
PR Close #41080
This commit is contained in:
parent
5565810bd6
commit
ef09922c61
|
@ -62,7 +62,7 @@ export function toR3NgModuleMeta<TExpression>(
|
|||
// The following blocks of code will unwrap the arrays from such functions, because
|
||||
// `R3NgModuleMetadata` expects arrays of `R3Reference` objects.
|
||||
|
||||
// Further, since the `ɵdefineNgModule()` will also suffer from the forward declaration problem,
|
||||
// Further, since the `ɵɵdefineNgModule()` will also suffer from the forward declaration problem,
|
||||
// we must update the `containsForwardDecls` property if a function wrapper was found.
|
||||
|
||||
if (metaObj.has('bootstrap')) {
|
||||
|
|
|
@ -35,7 +35,7 @@ function createNgModuleDefinitionMap(meta: R3NgModuleMetadata):
|
|||
|
||||
// We must wrap the arrays inside a function if any of the values are a forward reference to a
|
||||
// not-yet-declared class. This is to support JIT execution of the `ɵɵngDeclareNgModule()` call.
|
||||
// In the linker these wrappers are stripped and then reapplied for the `ɵdefineNgModule()` call.
|
||||
// In the linker these wrappers are stripped and then reapplied for the `ɵɵdefineNgModule()` call.
|
||||
|
||||
if (meta.bootstrap.length > 0) {
|
||||
definitionMap.set('bootstrap', refsToArray(meta.bootstrap, meta.containsForwardDecls));
|
||||
|
|
Loading…
Reference in New Issue