@capgo/cli
Version:
A CLI to upload to capgo servers
8 lines (7 loc) • 307 B
TypeScript
export type TableCell = string | number | boolean | null | undefined;
export interface FormatTableOptions {
headers?: TableCell[];
rows: TableCell[][];
}
export declare function visibleWidth(value: string): number;
export declare function formatTable({ headers, rows }: FormatTableOptions): string;