mode_edit codeAPI / @angular/coreNgModuleFactorylinkclass 试验性的abstract class NgModuleFactory<T> { abstract get moduleType: Type<T> abstract create(parentInjector: Injector | null): NgModuleRef<T> }属性link属性名类型说明moduleTypeType<T>只读方法linkcreate() linkmode_edit codeabstract create(parentInjector: Injector | null): NgModuleRef<T>参数parentInjectorType: Injector | null.返回值NgModuleRef<T>