(id: string)
| 21 | * @deprecated Use `getNgModuleById` instead. |
| 22 | */ |
| 23 | export function getModuleFactory(id: string): NgModuleFactory<any> { |
| 24 | const type = getRegisteredNgModuleType(id); |
| 25 | if (!type) throw noModuleError(id); |
| 26 | return new R3NgModuleFactory(type); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Returns the NgModule class with the given id (specified using [@NgModule.id |
no test coverage detected
searching dependent graphs…