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

Function defineModel

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

Source from the content-addressed store, hash-verified

329): ModelRef<T | undefined, M, G | undefined, S | undefined>
330
331export function defineModel(): any {
332 if (__DEV__) {
333 warnRuntimeUsage('defineModel')
334 }
335}
336
337type NotUndefined<T> = T extends undefined ? never : T
338type MappedOmit<T, K extends keyof any> = {

Callers 2

watch.test-d.tsFile · 0.85

Calls 1

warnRuntimeUsageFunction · 0.85

Tested by

no test coverage detected