( type: ComponentType<any>, rawImports?: RawScopeInfoFromDecorator[], )
| 14 | } from './interfaces/definition'; |
| 15 | |
| 16 | export function ɵɵgetComponentDepsFactory( |
| 17 | type: ComponentType<any>, |
| 18 | rawImports?: RawScopeInfoFromDecorator[], |
| 19 | ): () => DependencyTypeList { |
| 20 | return () => { |
| 21 | try { |
| 22 | return depsTracker.getComponentDependencies(type, rawImports).dependencies; |
| 23 | } catch (e) { |
| 24 | console.error( |
| 25 | `Computing dependencies in local compilation mode for the component "${type.name}" failed with the exception:`, |
| 26 | e, |
| 27 | ); |
| 28 | throw e; |
| 29 | } |
| 30 | }; |
| 31 | } |
no test coverage detected