mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 13:27:15 +08:00
21 lines
318 B
TypeScript
21 lines
318 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
|
|
};
|
|
consoleStamp(console, options2);
|