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

Function getServiceMetadata

packages/core/src/di/jit/service.ts:74–84  ·  view source on GitHub ↗
(type: Type<any>, srcMeta?: Service)

Source from the content-addressed store, hash-verified

72}
73
74function getServiceMetadata(type: Type<any>, srcMeta?: Service): R3ServiceMetadataFacade {
75 const compilerMeta: R3ServiceMetadataFacade = {
76 name: type.name,
77 type: type,
78 typeArgumentCount: 0,
79 autoProvided: srcMeta?.autoProvided,
80 factory: srcMeta?.factory,
81 };
82
83 return compilerMeta;
84}

Callers 1

compileServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…