(type: Type<any>)
| 379 | } |
| 380 | |
| 381 | export function extractDirectiveDef(type: Type<any>): DirectiveDef<any> | ComponentDef<any> | null { |
| 382 | return getComponentDef(type) || getDirectiveDef(type); |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | * @codeGenApi |
no test coverage detected