Type alias CellProxyObject<T>

CellProxyObject<T>: T extends {}
    ? {
        [TKey in Exclude<keyof T, `@@${string}`>]-?: Cell<T[TKey]>
    }
    : any

Type of the props-property of Cell. Turns the properties of a cell's value into cells.

Type Parameters

  • T

Example

type A = CellProxyObject<{a: number, b: string, c?: string}>;
// A = {a: Cell<number>, b: Cell<number>, c: Cell<string | undefined>}