Interface: Ref<T, S>
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
S | T |
Properties
| Property | Type | Description |
|---|---|---|
[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. |
Accessors
value
Get Signature
ts
get value(): T;Returns
T
Set Signature
ts
set value(_: S): void;Parameters
| Parameter | Type |
|---|---|
_ | S |
Returns
void