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

    Type Alias PersistCompatibleItem<T>

    PersistCompatibleItem: T extends PersistValue
    | undefined
        ? T
        : T extends ((...args: never[]) => void)
        | bigint
        | symbol
            ? never
            : PersistCompatible<T>

    Narrows one property or array item to values JSON storage round-trips, rejecting functions, symbols, and bigints. Values already typed as PersistValue are accepted as-is, which also stops recursion through that recursive type.

    Type Parameters

    • T