(type: Type<any>, moduleType: NgModuleType)
| 315 | } |
| 316 | |
| 317 | function verifyNotStandalone(type: Type<any>, moduleType: NgModuleType): void { |
| 318 | type = resolveForwardRef(type); |
| 319 | const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef(type); |
| 320 | if (def?.standalone) { |
| 321 | const location = `"${stringifyForError(moduleType)}" NgModule`; |
| 322 | errors.push(generateStandaloneInDeclarationsError(type, location)); |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | function verifyExportsAreDeclaredOrReExported(type: Type<any>) { |
| 327 | type = resolveForwardRef(type); |
no test coverage detected
searching dependent graphs…