From a782232ca33dbd2056ba490206f01614e4b7840c Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 19 Aug 2016 13:50:15 -0700 Subject: [PATCH] refactor(core): fix typo in private property name --- modules/@angular/core/src/linker/ng_module_factory.ts | 6 +++--- tools/public_api_guard/core/index.d.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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; }