smartlog-destination-local/ts/beautylog.node.table.ts
2016-01-30 06:19:44 +01:00

14 lines
444 B
TypeScript

/// <reference path="./index.ts" />
module BeautylogNodeTable {
export var cliTable;
export function init() {
cliTable = require("cli-table2");
var beautylogOsTable:any = {};
beautylogOsTable.new = function(typeArg:string,tableHeadArrayArg?) {
var newConsoleTable = new ConsoleTable(typeArg,tableHeadArrayArg);
return newConsoleTable;
};
return beautylogOsTable;
}
}