Interface: Reference()<T>
Defined in: util/reference.ts:6
A callable reference that acts as both getter and setter.
ref()→ returns the current value (throws if not yet assigned)ref(value)→ sets the current value
Type Parameters
T
T
Call Signature
Reference():
T
Defined in: util/reference.ts:7
A callable reference that acts as both getter and setter.
ref()→ returns the current value (throws if not yet assigned)ref(value)→ sets the current value
Returns
T
Call Signature
Reference(
node):void
Defined in: util/reference.ts:8
A callable reference that acts as both getter and setter.
ref()→ returns the current value (throws if not yet assigned)ref(value)→ sets the current value
Parameters
node
T | null
Returns
void