Remove const enum from Level TypeScript definition (#295)
This commit is contained in:
parent
70f22d87ba
commit
6e1c60e73d
2 changed files with 3 additions and 2 deletions
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
// Type definitions for Chalk
|
// Type definitions for Chalk
|
||||||
// Definitions by: Thomas Sauer <https://github.com/t-sauer>
|
// Definitions by: Thomas Sauer <https://github.com/t-sauer>
|
||||||
|
|
||||||
export const enum Level {
|
export enum Level {
|
||||||
None = 0,
|
None = 0,
|
||||||
Basic = 1,
|
Basic = 1,
|
||||||
Ansi256 = 2,
|
Ansi256 = 2,
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"allowJs": true
|
"allowJs": true,
|
||||||
|
"isolatedModules": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue