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

Method provide

packages/runtime-core/src/apiCreateApp.ts:83–83  ·  view source on GitHub ↗
(
    key: K,
    value: K extends InjectionKey<infer V> ? V : T,
  )

Source from the content-addressed store, hash-verified

81 unmount(): void
82 onUnmount(cb: () => void): void
83 provide<T, K = InjectionKey<T> | string | number>(
84 key: K,
85 value: K extends InjectionKey<infer V> ? V : T,
86 ): this

Callers 10

renderToSimpleStreamFunction · 0.80
renderToStringFunction · 0.80
configureAppFunction · 0.80
setupFunction · 0.80
PluginAFunction · 0.80
installMethod · 0.80
apiOptions.spec.tsFile · 0.80
createdFunction · 0.80
inject.test-d.tsFile · 0.80

Calls

no outgoing calls

Tested by 5

configureAppFunction · 0.64
setupFunction · 0.64
PluginAFunction · 0.64
installMethod · 0.64
createdFunction · 0.64