fix: correct type declarations in isolated modules mode

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

2
index.d.ts vendored
View file

@ -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: typeof LevelEnum;
Level: chalk.Level;
Color: Color;
ForegroundColor: ForegroundColor;
BackgroundColor: BackgroundColor;