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

Function mergeInject

packages/runtime-core/src/componentOptions.ts:1060–1065  ·  view source on GitHub ↗
(
  to: ComponentInjectOptions | undefined,
  from: ComponentInjectOptions,
)

Source from the content-addressed store, hash-verified

1058}
1059
1060function mergeInject(
1061 to: ComponentInjectOptions | undefined,
1062 from: ComponentInjectOptions,
1063) {
1064 return mergeObjectOptions(normalizeInject(to), normalizeInject(from))
1065}
1066
1067function normalizeInject(
1068 raw: ComponentInjectOptions | undefined,

Callers

nothing calls this directly

Calls 2

mergeObjectOptionsFunction · 0.85
normalizeInjectFunction · 0.85

Tested by

no test coverage detected