cspell
Version:
A Spelling Checker for Code!
10 lines • 384 B
TypeScript
export interface Table {
header: string[];
rows: string[][];
deliminator?: string;
}
export declare function tableToLines(table: Table, deliminator?: string): string[];
type TextDecorator = (t: string, index: number) => string;
export declare function decorateRowWith(row: string[], ...decorators: TextDecorator[]): string[];
export {};
//# sourceMappingURL=table.d.ts.map