UNPKG

knip

Version:

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

23 lines (22 loc) 593 B
type Value = string | number | undefined | false | null; export declare class Table { private columns; private rows; private header; private maxWidth; private truncateStart; private noTruncate; constructor(options?: { maxWidth?: number; header?: boolean; truncateStart?: string[]; noTruncate?: string[]; }); row(): this; cell(column: string, value: Value, formatter?: (value: Value) => string): this; sort(column: string): this; toCells(): string[][]; toRows(): string[]; toString(): string; } export {};