Skip to content

Interface: Ref<T, S> ​

Type Parameters ​

Type ParameterDefault type
Tany
ST

Properties ​

PropertyTypeDescription
[RefSymbol]trueType 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.

Accessors ​

value ​

Get Signature ​

ts
get value(): T;
Returns ​

T

Set Signature ​

ts
set value(_: S): void;
Parameters ​
ParameterType
_S
Returns ​

void