Skip to content

Commit ef09922

Browse files
petebacondarwinthePunderWoman
authored andcommitted
docs(compiler): fix typos in partial compilation comments (angular#41080)
PR Close angular#41080
1 parent 5565810 commit ef09922

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function toR3NgModuleMeta<TExpression>(
6262
// The following blocks of code will unwrap the arrays from such functions, because
6363
// `R3NgModuleMetadata` expects arrays of `R3Reference` objects.
6464

65-
// Further, since the `ɵdefineNgModule()` will also suffer from the forward declaration problem,
65+
// Further, since the `ɵɵdefineNgModule()` will also suffer from the forward declaration problem,
6666
// we must update the `containsForwardDecls` property if a function wrapper was found.
6767

6868
if (metaObj.has('bootstrap')) {

packages/compiler/src/render3/partial/ng_module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function createNgModuleDefinitionMap(meta: R3NgModuleMetadata):
3535

3636
// We must wrap the arrays inside a function if any of the values are a forward reference to a
3737
// not-yet-declared class. This is to support JIT execution of the `ɵɵngDeclareNgModule()` call.
38-
// In the linker these wrappers are stripped and then reapplied for the `ɵdefineNgModule()` call.
38+
// In the linker these wrappers are stripped and then reapplied for the `ɵɵdefineNgModule()` call.
3939

4040
if (meta.bootstrap.length > 0) {
4141
definitionMap.set('bootstrap', refsToArray(meta.bootstrap, meta.containsForwardDecls));

0 commit comments

Comments
 (0)