MCPcopy
hub / github.com/vuejs/core / injections

Function injections

packages/runtime-core/src/compat/componentFunctional.ts:46–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 return getCompatListeners(instance)
45 },
46 get injections() {
47 if (comp.inject) {
48 const injections = {}
49 resolveInjections(comp.inject, injections)
50 return injections
51 }
52 return {}
53 },
54 }
55 return legacyFn(compatH, legacyCtx)
56 }

Callers

nothing calls this directly

Calls 1

resolveInjectionsFunction · 0.90

Tested by

no test coverage detected