MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / describeInjectedProperties

Function describeInjectedProperties

packages/context/src/inject.ts:707–716  ·  view source on GitHub ↗
(
  target: Object,
)

Source from the content-addressed store, hash-verified

705 * prototype for instance properties.
706 */
707export function describeInjectedProperties(
708 target: Object,
709): MetadataMap<Readonly<Injection>> {
710 const metadata =
711 MetadataInspector.getAllPropertyMetadata<Readonly<Injection>>(
712 INJECT_PROPERTIES_KEY,
713 target,
714 ) ?? {};
715 return metadata;
716}
717
718/**
719 * Inspect injections for a binding created with `toClass` or `toProvider`

Callers 3

inspectInjectionsFunction · 0.85
inject.unit.tsFile · 0.85

Calls 1

Tested by

no test coverage detected