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

Function defineSlots

packages/runtime-core/src/apiSetupHelpers.ts:253–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251 * @see {@link https://vuejs.org/api/sfc-script-setup.html#defineslots}
252 */
253export function defineSlots<
254 S extends Record<string, any> = Record<string, any>,
255>(): StrictUnwrapSlotsType<SlotsType<S>> {
256 if (__DEV__) {
257 warnRuntimeUsage(`defineSlots`)
258 }
259 return null as any
260}
261
262export type ModelRef<T, M extends PropertyKey = string, G = T, S = T> = Ref<
263 G,

Callers 1

Calls 1

warnRuntimeUsageFunction · 0.85

Tested by

no test coverage detected