refactor(core): fix typo in private property name

This commit is contained in:
Igor Minar 2016-08-19 13:50:15 -07:00
parent a29f9f3ab8
commit a782232ca3
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ export abstract class NgModuleRef<T> {
/** /**
* The ComponentFactoryResolver to get hold of the ComponentFactories * 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(); } get componentFactoryResolver(): ComponentFactoryResolver { return unimplemented(); }
@ -57,9 +57,9 @@ export abstract class NgModuleRef<T> {
export class NgModuleFactory<T> { export class NgModuleFactory<T> {
constructor( constructor(
private _injectorClass: {new (parentInjector: Injector): NgModuleInjector<T>}, private _injectorClass: {new (parentInjector: Injector): NgModuleInjector<T>},
private _moduleype: Type<T>) {} private _moduleType: Type<T>) {}
get moduleType(): Type<T> { return this._moduleype; } get moduleType(): Type<T> { return this._moduleType; }
create(parentInjector: Injector): NgModuleRef<T> { create(parentInjector: Injector): NgModuleRef<T> {
if (!parentInjector) { if (!parentInjector) {

View File

@ -774,7 +774,7 @@ export declare class NgModuleFactory<T> {
moduleType: Type<T>; moduleType: Type<T>;
constructor(_injectorClass: { constructor(_injectorClass: {
new (parentInjector: Injector): NgModuleInjector<T>; new (parentInjector: Injector): NgModuleInjector<T>;
}, _moduleype: Type<T>); }, _moduleType: Type<T>);
create(parentInjector: Injector): NgModuleRef<T>; create(parentInjector: Injector): NgModuleRef<T>;
} }