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

14 lines
399 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-11-15 05:15:20 +00:00
beautylogOsTable.new = function(type:string) {
var newConsoleTable = new ConsoleTable(type);
return newConsoleTable;
};
return beautylogOsTable;
}
2015-11-13 21:53:28 +00:00
}