Interface _Model<SuperModel, TProps, FromSnapshotOverride, ToSnapshotOverride>

interface _Model<SuperModel, TProps, FromSnapshotOverride, ToSnapshotOverride> {
    new _Modelnew (data: _ComposedCreationData<SuperModel, TProps>): 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)
    }>;
}

Type Parameters

  • SuperModel
  • TProps extends ModelProps
  • FromSnapshotOverride extends Record<string, any>
  • ToSnapshotOverride extends Record<string, any>

Constructors

Constructors