Type Alias ModelToSnapshot<M>

ModelToSnapshot<M>: IsNeverType<M[typeof toSnapshotOverrideTypeSymbol], ModelPropsToSnapshotData<ModelPropsOf<M>>, M[typeof toSnapshotOverrideTypeSymbol]> & {
    $modelType?: string;
}

The to snapshot type of a model.

Type Parameters

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

Use SnapshotOutOf instead.