RowOf type
Home > @cbnsndwch/zero-contracts > RowOf
RowOf type
Extracts the shape of the rows from a table schema
Signature:
type RowOf<T extends TableBuilderWithColumns<TableSchema>> = {
[K in keyof T['schema']['columns']]: SchemaValueToTSType<
T['schema']['columns'][K]
>;
};How was this page?