(type: Type<any>)
| 383 | } |
| 384 | |
| 385 | function verifyComponentIsPartOfNgModule(type: Type<any>) { |
| 386 | type = resolveForwardRef(type); |
| 387 | const existingModule = ownerNgModule.get(type); |
| 388 | if (!existingModule && !isStandalone(type)) { |
| 389 | errors.push( |
| 390 | `Component ${stringifyForError( |
| 391 | type, |
| 392 | )} is not part of any NgModule or the module has not been imported into your module.`, |
| 393 | ); |
| 394 | } |
| 395 | } |
| 396 | |
| 397 | function verifyCorrectBootstrapType(type: Type<any>) { |
| 398 | type = resolveForwardRef(type); |
nothing calls this directly
no test coverage detected