(type: any)
| 54 | } |
| 55 | |
| 56 | export function getDirectiveDef<T>(type: any): DirectiveDef<T> | null { |
| 57 | assertTypeDefined(type, '@Directive'); |
| 58 | return type[NG_DIR_DEF] || null; |
| 59 | } |
| 60 | |
| 61 | export function getPipeDef<T>(type: any): PipeDef<T> | null { |
| 62 | assertTypeDefined(type, '@Pipe'); |
no test coverage detected
searching dependent graphs…