(type: Type<any>)
| 307 | } |
| 308 | |
| 309 | function verifyDirectivesHaveSelector(type: Type<any>): void { |
| 310 | type = resolveForwardRef(type); |
| 311 | const def = getDirectiveDef(type); |
| 312 | if (!getComponentDef(type) && def && def.selectors.length == 0) { |
| 313 | errors.push(`Directive ${stringifyForError(type)} has no selector, please add it!`); |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | function verifyNotStandalone(type: Type<any>, moduleType: NgModuleType): void { |
| 318 | type = resolveForwardRef(type); |
nothing calls this directly
no test coverage detected
searching dependent graphs…