TypeScript fixes (#217)

This commit is contained in:
calebboyd 2017-10-23 23:02:36 -05:00 committed by Sindre Sorhus
parent e1177ec362
commit 7be154c074
2 changed files with 85 additions and 75 deletions

View file

@ -28,10 +28,15 @@ chalk.level = Level.Ansi256;
chalk.level === Level.Ansi256;
let chalkInstance = new chalk();
chalkInstance = new chalk.constructor();
let chalkInstance = new chalk.constructor();
chalkInstance = chalk.constructor();
chalkInstance.blue('foo');
chalkInstance`foo`;
let x = 'imastring';
x = chalk();
chalk.enabled;
chalk.level;
chalk.supportsColor.level;