fix: use export = for typescript module definition
This commit is contained in:
parent
84f27d4bd8
commit
fa760967a2
4 changed files with 37 additions and 35 deletions
18
types/options.d.ts
vendored
Normal file
18
types/options.d.ts
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
declare namespace Chalk {
|
||||
export const enum Level {
|
||||
None = 0,
|
||||
Basic = 1,
|
||||
Ansi256 = 2,
|
||||
TrueColor = 3
|
||||
}
|
||||
export interface Options {
|
||||
enabled?: boolean;
|
||||
level?: Chalk.Level;
|
||||
}
|
||||
export interface ColorSupport {
|
||||
level: Level;
|
||||
hasBasic: boolean;
|
||||
has256: boolean;
|
||||
has16m: boolean;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue