Skip to content

Commit 8378012

Browse files
committed
- Added colors
1 parent 13efdd1 commit 8378012

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

colors.d.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// https://github.com/Marak/colors.js
2+
3+
// import _colors = module("colors");
4+
// var colors = require('colors');
5+
6+
module "colors" {
7+
export function setTheme(theme: any);
8+
export function addSequencer(name: string, callback: Function);
9+
10+
// none, browser, console
11+
export var mode: string;
12+
}
13+
14+
declare interface String {
15+
bold: String;
16+
italic: String;
17+
underline: String;
18+
inverse: String;
19+
white: String;
20+
grey: String;
21+
black: String;
22+
blue: String;
23+
cyan: String;
24+
green: String;
25+
magenta: String;
26+
red: String;
27+
yellow: String;
28+
}

0 commit comments

Comments
 (0)