update @types dependency version to better work with flat npm3 structure
This commit is contained in:
parent
9b5eed2f76
commit
f673f7ab26
@ -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:
|
||||||
|
5
dist/beautylog.console.d.ts
vendored
5
dist/beautylog.console.d.ts
vendored
@ -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;
|
||||||
};
|
};
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user