// Type definitions for cli-table 0.3 // Project: https://github.com/Automattic/cli-table // Definitions by: AryloYeung // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 interface TableOptions { chars: Partial>; truncate: string; colors: boolean; colWidths: number[]; colAligns: Array<"left" | "middle" | "right">; style: Partial<{ 'padding-left': number; 'padding-right': number; head: string[]; border: string[]; compact: boolean; }>; head: string[]; } declare class Table extends Array { constructor(options?: Partial); toString(): string; static version: string; } export = Table;