Type Alias Store<T>

    Store: Writable<Cell<T>> & (
        T extends readonly any[]
            ? unknown
            : T extends (...args: any[]) => any
                ? unknown
                : T extends object ? { [K in keyof T]-?: Store<T[K]> } : unknown
    )

    Deep store view: the cell itself, plus a Store per object field. Primitives and functions bottom out at the plain Writable<Cell<T>>.

    Type Parameters

    • T