MCPcopy Index your code
hub / github.com/angular/angular / reflectDependencies

Function reflectDependencies

packages/core/src/di/jit/util.ts:22–24  ·  view source on GitHub ↗
(type: Type<any>)

Source from the content-addressed store, hash-verified

20}
21
22export function reflectDependencies(type: Type<any>): R3DependencyMetadataFacade[] {
23 return convertDependencies(getReflect().parameters(type));
24}
25
26export function convertDependencies(deps: any[]): R3DependencyMetadataFacade[] {
27 return deps.map((dep) => reflectDependency(dep));

Callers 5

compileInjectableFunction · 0.90
compileServiceFunction · 0.90
compilePipeFunction · 0.90
compileNgModuleDefsFunction · 0.90
addDirectiveFactoryDefFunction · 0.90

Calls 3

convertDependenciesFunction · 0.85
getReflectFunction · 0.85
parametersMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…