diff --git a/README.md b/README.md index a77260c..03a2f63 100644 --- a/README.md +++ b/README.md @@ -64,10 +64,10 @@ myTable.print(); //prints myTable to the console ```javascript var beautylog = require("beautylog"); var myTable = beautylog.table.new("checks"); // type checks -myTable.push(["check 1","success"]); // adds a row the myTable -myTable.push(["check 2","error"]); // adds a row the myTable -myTable.push(["check 3","error"]); // adds a row the myTable -myTable.print(); //prints myTable to the console +myTable.push(["check 1","success"]); // adds a row to myTable +myTable.push(["check 2","error"]); // adds a row to myTable +myTable.push(["check 3","error"]); // adds a row to myTable +myTable.print(); //prints myTable to console ``` The table from the code with type "checks" above looks like this: diff --git a/dist/beautylog.console.d.ts b/dist/beautylog.console.d.ts index 47f7820..839a03c 100644 --- a/dist/beautylog.console.d.ts +++ b/dist/beautylog.console.d.ts @@ -1,5 +1,8 @@ import "typings-global"; export declare let beautyConsole: { - log2: (message?: any, ...optionalParams: any[]) => void; + log2: { + (message?: any, ...optionalParams: any[]): void; + (message?: any, ...optionalParams: any[]): void; + }; log: (logArg: any) => void; }; diff --git a/package.json b/package.json index 7a07aa1..0fa6d17 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ }, "homepage": "https://gitlab.com/pushrocks/beautylog", "dependencies": { - "@types/colors": "^0.6.22-alpha", - "@types/q": "0.0.21-alpha", + "@types/colors": "*", + "@types/q": "*", "cli-color": "^1.1.0", "cli-table2": "^0.2.0", "colors": "1.1.2",