Interface _Model<SuperModel, TProps, FromSnapshotOverride, ToSnapshotOverride>
Type Parameters
- SuperModel
- TProps extends ModelProps
- FromSnapshotOverride extends Record<string, any>
- ToSnapshotOverride extends Record<string, any>
Constructors
constructor
- new _Model(data): SuperModel & BaseModel<TProps, FromSnapshotOverride, ToSnapshotOverride, _ModelId<SuperModel, TProps>> & Omit<Flatten<{
[k in string | number | symbol]: TProps[k]["$transformedValueType"]
}>, BaseModelKeys> & Flatten<{
[k in string | number | symbol as TProps[k]["$hasSetter"] & `set${Capitalize<k & string>}`]: ((value: TProps[k]["$transformedValueType"]) => void)
}> Returns SuperModel & BaseModel<TProps, FromSnapshotOverride, ToSnapshotOverride, _ModelId<SuperModel, TProps>> & Omit<Flatten<{
[k in string | number | symbol]: TProps[k]["$transformedValueType"]
}>, BaseModelKeys> & Flatten<{
[k in string | number | symbol as TProps[k]["$hasSetter"] & `set${Capitalize<k & string>}`]: ((value: TProps[k]["$transformedValueType"]) => void)
}>