(value: Type<unknown>)
| 1157 | function getComponentDef(value: ComponentType<unknown>): ComponentDef<unknown>; |
| 1158 | function getComponentDef(value: Type<unknown>): ComponentDef<unknown> | null; |
| 1159 | function getComponentDef(value: Type<unknown>): ComponentDef<unknown> | null { |
| 1160 | return (value as any).ɵcmp ?? null; |
| 1161 | } |
| 1162 | |
| 1163 | function hasNgModuleDef<T>(value: Type<T>): value is NgModuleType<T> { |
| 1164 | return Object.hasOwn(value, 'ɵmod'); |
no outgoing calls
no test coverage detected