Interface Ref<T>

interface Ref<T> {
    [RefSymbol]: true;
    value: T;
}

Type Parameters

  • T = any

Hierarchy (view full)

Properties

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.

value: T