FuncType - v0.20.0
GitHub
Preparing search index...
RefType
Type Alias RefType
RefType
:
<
A
extends
unknown
>
(
initial
:
A
)
=>
RefType
<
A
>
&
{
of
:
<
A
extends
unknown
>
(
initial
:
A
)
=>
RefType
<
A
>
;
}
Type Declaration
<
A
extends
unknown
>
(
initial
:
A
)
:
RefType
<
A
>
Creates a new mutable reference containing the given value
Type Parameters
A
extends
unknown
Parameters
initial
:
A
Returns
RefType
<
A
>
of
:
<
A
extends
unknown
>
(
initial
:
A
)
=>
RefType
<
A
>
Creates a Ref. Alias for Ref constructor.
Settings
Member Visibility
Inherited
Internal
Theme
OS
Light
Dark
GitHub
FuncType - v0.20.0
Loading...
Creates a new mutable reference containing the given value