remove const from enum

This commit is contained in:
Simen Bekkhus 2020-03-23 21:40:02 +01:00
parent b1a91f3de2
commit 8e2df82370
No known key found for this signature in database
GPG key ID: 92B92EBAD80DE3CE

4
index.d.ts vendored
View file

@ -1,4 +1,4 @@
declare const enum LevelEnum {
declare enum LevelEnum {
/**
All colors disabled.
*/
@ -400,7 +400,7 @@ This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
*/
declare const chalk: chalk.Chalk & chalk.ChalkFunction & {
supportsColor: chalk.ColorSupport | false;
Level: chalk.Level;
Level: typeof LevelEnum;
Color: Color;
ForegroundColor: ForegroundColor;
BackgroundColor: BackgroundColor;