fix(types): optional chalkOptions, Extended -> Ansi256
This commit is contained in:
parent
98b42414b4
commit
64f592b70c
3 changed files with 14 additions and 10 deletions
|
|
@ -24,9 +24,13 @@ ctx`foo`;
|
|||
|
||||
chalk.enabled = true;
|
||||
chalk.level = 1;
|
||||
chalk.level = Level.Extended;
|
||||
chalk.level = Level.Ansi256;
|
||||
|
||||
chalk.level === Level.Extended;
|
||||
chalk.level === Level.Ansi256;
|
||||
|
||||
let chalkInstance = new chalk();
|
||||
chalkInstance = new chalk.constructor();
|
||||
chalkInstance = chalk.constructor();
|
||||
|
||||
chalk.enabled;
|
||||
chalk.level;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue