update @types dependency version to better work with flat npm3 structure

This commit is contained in:
Philipp Kunz 2016-07-14 23:01:08 +02:00
parent 9b5eed2f76
commit f673f7ab26
3 changed files with 10 additions and 7 deletions

View File

@ -64,10 +64,10 @@ myTable.print(); //prints myTable to the console
```javascript ```javascript
var beautylog = require("beautylog"); var beautylog = require("beautylog");
var myTable = beautylog.table.new("checks"); // type checks var myTable = beautylog.table.new("checks"); // type checks
myTable.push(["check 1","success"]); // adds a row the myTable myTable.push(["check 1","success"]); // adds a row to myTable
myTable.push(["check 2","error"]); // adds a row the myTable myTable.push(["check 2","error"]); // adds a row to myTable
myTable.push(["check 3","error"]); // adds a row the myTable myTable.push(["check 3","error"]); // adds a row to myTable
myTable.print(); //prints myTable to the console myTable.print(); //prints myTable to console
``` ```
The table from the code with type "checks" above looks like this: The table from the code with type "checks" above looks like this:

View File

@ -1,5 +1,8 @@
import "typings-global"; import "typings-global";
export declare let beautyConsole: { 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; log: (logArg: any) => void;
}; };

View File

@ -31,8 +31,8 @@
}, },
"homepage": "https://gitlab.com/pushrocks/beautylog", "homepage": "https://gitlab.com/pushrocks/beautylog",
"dependencies": { "dependencies": {
"@types/colors": "^0.6.22-alpha", "@types/colors": "*",
"@types/q": "0.0.21-alpha", "@types/q": "*",
"cli-color": "^1.1.0", "cli-color": "^1.1.0",
"cli-table2": "^0.2.0", "cli-table2": "^0.2.0",
"colors": "1.1.2", "colors": "1.1.2",