-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
45 lines (36 loc) · 930 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export interface ChalkOptions {
nest?: boolean;
}
export interface ChalkConstructor {
(options?: ChalkOptions): Chalk;
}
export interface Chalk {
constructor: ChalkConstructor;
bg(color: string): this;
fg(color: string): this;
readonly dim: this;
readonly bold: this;
readonly italic: this;
readonly underline: this;
readonly strikethrough: this;
readonly inverse: this;
readonly black: this;
readonly red: this;
readonly green: this;
readonly yellow: this;
readonly blue: this;
readonly magenta: this;
readonly cyan: this;
readonly white: this;
readonly gray: this;
readonly bgBlack: this;
readonly bgRed: this;
readonly bgGreen: this;
readonly bgYellow: this;
readonly bgBlue: this;
readonly bgMagenta: this;
readonly bgCyan: this;
readonly bgWhite: this;
readonly bgGray: this;
}
export default Chalk;