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
* 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<T> {
export class NgModuleFactory<T> {
constructor(
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> {
if (!parentInjector) {

View File

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