UNPKG

console-table-printer

Version:
23 lines (22 loc) 573 B
import { ALIGNMENT, COLOR } from './common'; export interface Column { name: string; title: string; alignment?: ALIGNMENT; color?: COLOR; length?: number; minLen?: number; maxLen?: number; } type TableLineDetailsKeys = 'left' | 'right' | 'mid' | 'other'; export type TableLineDetails = { [key in TableLineDetailsKeys]: string; }; export type TableStyleDetails = { headerTop: TableLineDetails; headerBottom: TableLineDetails; tableBottom: TableLineDetails; vertical: string; rowSeparator?: TableLineDetails; }; export {};