Skip to content
A

RowOf

type RowOf<Spec> = Simplify<{ [S in Extract<Spec[number], ColumnSpec> as S["name"]]: ReturnType<S["parse"]> }>;

Defined in: src/core/columns.ts:42

The row object inferred from a const column-spec tuple. Every non-null column contributes a required key (the decoder always assigns it — null when the cell is absent), typed as that column’s cell-parser return type. A null spec entry (a skipped position) contributes nothing.

Type Parameter
Spec extends ReadonlyArray<ColumnSpec | null>