Preparing search index...
The search index is not available
mobx-keystone
mobx-keystone
ModelClass
Interface ModelClass<M>
Extracts the instance type of a model class.
interface
ModelClass
<
M
>
{
new ModelClass
new
(
initialData
:
any
)
:
M
;
fromSnapshotProcessor
?:
(
(
sn
:
any
)
=>
any
)
;
toSnapshotProcessor
?:
(
(
sn
:
any
,
modelInstance
:
any
)
=>
any
)
;
}
Type Parameters
M
extends
AnyModel
|
AnyDataModel
Index
Constructors
constructor
Properties
from
Snapshot
Processor?
to
Snapshot
Processor?
Constructors
constructor
new
Model
Class
(
initialData
)
:
M
Parameters
initialData
:
any
Returns
M
Properties
Optional
from
Snapshot
Processor
from
Snapshot
Processor
?:
(
(
sn
:
any
)
=>
any
)
Optional
to
Snapshot
Processor
to
Snapshot
Processor
?:
(
(
sn
:
any
,
modelInstance
:
any
)
=>
any
)
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
from
Snapshot
Processor
to
Snapshot
Processor
mobx-keystone
Loading...
Extracts the instance type of a model class.