interface ComputedRef<T> {
    [ComputedRefSymbol]: true;
    [RefSymbol]: true;
    effect: ComputedRefImpl<any>;
    value: T;
}

Type Parameters

  • T = any

Hierarchy

  • BaseComputedRef<T>
    • ComputedRef

Properties

[ComputedRefSymbol]: true
[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: ComputedRefImpl<any>

computed no longer uses effect

value: T