Type Alias ModelFromSnapshot<M>

ModelFromSnapshot<M>: IsNeverType<M[typeof fromSnapshotOverrideTypeSymbol], ModelPropsToSnapshotCreationData<ModelPropsOf<M>>, M[typeof fromSnapshotOverrideTypeSymbol]> & {
    $modelType?: string;
}

The from snapshot type of a model.

Type Parameters

  • M extends ModelWithProps & {
        [fromSnapshotOverrideTypeSymbol]: any;
    }

Use SnapshotInOf instead.