interface WritableComputedRef<T> {
    [RefSymbol]: true;
    effect: ReactiveEffect<T>;
    value: T;
}

Type Parameters

  • T

Hierarchy (view full)

Properties

Accessors

Properties

[RefSymbol]: true

Type differentiator only. We need this to be in public d.ts but don't want it to show up in IDE autocomplete, so we use a private Symbol instead.

effect: ReactiveEffect<T>

Accessors

  • get value(): T
  • Returns T

  • set value(_): void
  • Parameters

    Returns void