smartlog-destination-local/ts/beautylog.node.table.ts

14 lines
442 B
TypeScript
Raw Normal View History

2015-11-15 06:15:20 +01:00
/// <reference path="./index.ts" />
2015-11-13 22:53:28 +01:00
module BeautylogOsTable {
2015-11-15 06:15:20 +01:00
export var cliTable;
export function init() {
cliTable = require("cli-table2");
var beautylogOsTable:any = {};
2015-11-13 22:53:28 +01:00
2015-12-20 23:14:22 +01:00
beautylogOsTable.new = function(typeArg:string,tableHeadArrayArg?) {
var newConsoleTable = new ConsoleTable(typeArg,tableHeadArrayArg);
2015-11-15 06:15:20 +01:00
return newConsoleTable;
};
return beautylogOsTable;
}
2015-11-13 22:53:28 +01:00
}