MCPcopy Create free account
hub / github.com/cn-docs/vueuse / ComputedWithControlRefExtra

Interface ComputedWithControlRefExtra

packages/shared/computedWithControl/index.ts:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { customRef, shallowRef, watch } from 'vue'
4
5export interface ComputedWithControlRefExtra {
6 /**
7 * Force update the computed value.
8 */
9 trigger: () => void
10}
11
12export interface ComputedRefWithControl<T> extends ComputedRef<T>, ComputedWithControlRefExtra {}
13export interface WritableComputedRefWithControl<T> extends WritableComputedRef<T>, ComputedWithControlRefExtra {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected