Remove the .enabled property in favor of .level (#356)

This commit is contained in:
Qix 2019-07-13 07:45:31 +02:00 committed by Sindre Sorhus
parent 87156ce8e2
commit 1f77953f1a
9 changed files with 17 additions and 101 deletions

View file

@ -24,7 +24,6 @@ expectError(chalk.reset.supportsColor);
expectType<chalk.Chalk>(new chalk.Instance({level: 1}));
// -- Properties --
expectType<boolean>(chalk.enabled);
expectType<chalk.Level>(chalk.level);
// -- Template literal --