Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Type Alias PersistCompatible<T>

    PersistCompatible: { [K in keyof T]: PersistCompatibleItem<T[K]> }

    Accepts types whose values JSON storage round-trips, checked property by property so interfaces without index signatures (which PersistValue rejects) qualify. A mapped type (rather than a conditional one) lets it constrain its own type parameter, as in T extends PersistCompatible<T>; arrays and primitives map onto themselves. Persisted state accepts more, such as dates and maps: see PersistStorableCompatible.

    Type Parameters

    • T