refactor(core): fix typo in private property name
This commit is contained in:
parent
a29f9f3ab8
commit
a782232ca3
|
@ -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) {
|
||||||
|
|
|
@ -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>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue