From 8e2df82370efa6602b82c2a5a9c0943da63447c5 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 23 Mar 2020 21:40:02 +0100 Subject: [PATCH] remove const from enum --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 272b20f..23dd077 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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;