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

Function toggleDeprecationWarning

packages/runtime-core/src/compat/compatConfig.ts:434–436  ·  view source on GitHub ↗
(flag: boolean)

Source from the content-addressed store, hash-verified

432let warningEnabled = true
433
434export function toggleDeprecationWarning(flag: boolean): void {
435 warningEnabled = flag
436}
437
438export function warnDeprecation(
439 key: DeprecationTypes,

Callers 11

global.spec.tsFile · 0.90
instance.spec.tsFile · 0.90
misc.spec.tsFile · 0.90
options.spec.tsFile · 0.90
compiler.spec.tsFile · 0.90
renderFn.spec.tsFile · 0.90
filters.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected