(value: Type<T>)
| 36 | } |
| 37 | |
| 38 | export function isComponent<T>(value: Type<T>): value is ComponentType<T> { |
| 39 | return !!getComponentDef(value); |
| 40 | } |
| 41 | |
| 42 | function getDependencyTypeForError(type: Type<any>) { |
| 43 | if (getComponentDef(type)) return 'component'; |
no test coverage detected