(type: Type<any>)
| 368 | } |
| 369 | |
| 370 | function verifyComponentIsPartOfNgModule(type: Type<any>) { |
| 371 | type = resolveForwardRef(type); |
| 372 | const existingModule = ownerNgModule.get(type); |
| 373 | if (!existingModule && !isStandalone(type)) { |
| 374 | errors.push( |
| 375 | `Component ${stringifyForError( |
| 376 | type, |
| 377 | )} is not part of any NgModule or the module has not been imported into your module.`, |
| 378 | ); |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | function verifyCorrectBootstrapType(type: Type<any>) { |
| 383 | type = resolveForwardRef(type); |
nothing calls this directly
no test coverage detected
searching dependent graphs…