console-table-printer 2.14.5 → 2.14.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ export default class Table {
8
8
  addColumn(column: string | ColumnOptionsRaw): this;
9
9
  addColumns(columns: string[] | ColumnOptionsRaw[]): this;
10
10
  addRow(text: Dictionary, rowOptions?: RowOptionsRaw): this;
11
- addRows(toBeInsertedRows: any, rowOptions?: RowOptionsRaw): this;
11
+ addRows(toBeInsertedRows: Dictionary[], rowOptions?: RowOptionsRaw): this;
12
12
  printTable(): void;
13
13
  render(): string;
14
14
  }
@@ -1,5 +1,6 @@
1
+ import { Dictionary } from '../models/common';
1
2
  import { ComplexOptions } from '../models/external-table';
2
3
  import TableInternal from './internal-table';
3
4
  export declare const renderTable: (table: TableInternal) => string;
4
- export declare const renderSimpleTable: (rows: any[], tableOptions?: ComplexOptions) => string;
5
- export declare const printSimpleTable: (rows: any[], tableOptions?: ComplexOptions) => void;
5
+ export declare const renderSimpleTable: (rows: Dictionary[], tableOptions?: ComplexOptions) => string;
6
+ export declare const printSimpleTable: (rows: Dictionary[], tableOptions?: ComplexOptions) => void;
@@ -12,7 +12,7 @@ declare class TableInternal {
12
12
  sortFunction: RowSortFunction;
13
13
  enabledColumns: string[];
14
14
  disabledColumns: string[];
15
- computedColumns: any[];
15
+ computedColumns: ComputedColumn[];
16
16
  rowSeparator: boolean;
17
17
  colorMap: ColorMap;
18
18
  charLength: CharLengthDict;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "console-table-printer",
3
- "version": "2.14.5",
3
+ "version": "2.14.6",
4
4
  "repository": "github:console-table-printer/console-table-printer",
5
5
  "description": "Printing pretty tables on console log",
6
6
  "main": "dist/index.js",