Preparing search index...
The search index is not available
mobx-keystone
mobx-keystone
RefConstructor
Interface RefConstructor<T>
A ref constructor for custom refs
interface
RefConstructor
<
T
>
{
[customRefTypeSymbol]
:
T
;
refClass
:
ModelClass
<
Ref
<
T
>
>
;
<
TE
>
(
valueOrID
:
string
|
TE
)
:
Ref
<
TE
>
;
}
Type Parameters
T
extends
object
Ref
Constructor
<
TE
>
(
valueOrID
)
:
Ref
<
TE
>
Type Parameters
TE
extends
object
Parameters
valueOrID
:
string
|
TE
Returns
Ref
<
TE
>
Index
Properties
[custom
Ref
Type
Symbol]
ref
Class
Properties
[custom
Ref
Type
Symbol]
[custom
Ref
Type
Symbol]
:
T
ref
Class
ref
Class
:
ModelClass
<
Ref
<
T
>
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
[custom
Ref
Type
Symbol]
ref
Class
mobx-keystone
Loading...
A ref constructor for custom refs