mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add missing typing for labelPrefix & labelSuffix options for package console-stamp. * fix spaces issue
23 lines
356 B
TypeScript
23 lines
356 B
TypeScript
|
|
import consoleStamp = require("console-stamp");
|
|
|
|
consoleStamp(console);
|
|
|
|
var options = {};
|
|
consoleStamp(console, options);
|
|
|
|
var options2 = {
|
|
metadata: function ():string {
|
|
return 'string';
|
|
},
|
|
colors: {
|
|
stamp: "yellow",
|
|
label: "white",
|
|
metadata: "green"
|
|
},
|
|
label: true,
|
|
labelPrefix: '[',
|
|
labelSuffix: ']'
|
|
};
|
|
consoleStamp(console, options2);
|