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

14 lines
442 B
TypeScript
Raw Normal View History

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