diff --git a/modules/@angular/core/src/linker/ng_module_factory.ts b/modules/@angular/core/src/linker/ng_module_factory.ts index 7975c55009..b6869734d1 100644 --- a/modules/@angular/core/src/linker/ng_module_factory.ts +++ b/modules/@angular/core/src/linker/ng_module_factory.ts @@ -31,7 +31,7 @@ export abstract class NgModuleRef { /** * The ComponentFactoryResolver to get hold of the ComponentFactories - * delcared in the `entryComponents` property of the module. + * declared in the `entryComponents` property of the module. */ get componentFactoryResolver(): ComponentFactoryResolver { return unimplemented(); } @@ -57,9 +57,9 @@ export abstract class NgModuleRef { export class NgModuleFactory { constructor( private _injectorClass: {new (parentInjector: Injector): NgModuleInjector}, - private _moduleype: Type) {} + private _moduleType: Type) {} - get moduleType(): Type { return this._moduleype; } + get moduleType(): Type { return this._moduleType; } create(parentInjector: Injector): NgModuleRef { if (!parentInjector) { diff --git a/tools/public_api_guard/core/index.d.ts b/tools/public_api_guard/core/index.d.ts index 38552dc9e3..7c04a3fd9c 100644 --- a/tools/public_api_guard/core/index.d.ts +++ b/tools/public_api_guard/core/index.d.ts @@ -774,7 +774,7 @@ export declare class NgModuleFactory { moduleType: Type; constructor(_injectorClass: { new (parentInjector: Injector): NgModuleInjector; - }, _moduleype: Type); + }, _moduleType: Type); create(parentInjector: Injector): NgModuleRef; }