fix: use export = for typescript module definition

This commit is contained in:
calebboyd 2018-03-02 18:46:02 -06:00
parent 84f27d4bd8
commit fa760967a2
4 changed files with 37 additions and 35 deletions

18
types/options.d.ts vendored Normal file
View 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;
}
}