diff --git a/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.ts b/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.ts index cca10c8a8a..4a1fa5efa2 100644 --- a/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.ts +++ b/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.ts @@ -62,7 +62,7 @@ export function toR3NgModuleMeta( // 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')) { diff --git a/packages/compiler/src/render3/partial/ng_module.ts b/packages/compiler/src/render3/partial/ng_module.ts index 0aa3cbf367..f9ad4ed28d 100644 --- a/packages/compiler/src/render3/partial/ng_module.ts +++ b/packages/compiler/src/render3/partial/ng_module.ts @@ -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));