fix(types): change overload order for better implicit any inference

This commit is contained in:
calebboyd 2017-10-18 23:16:54 -05:00
parent 381f4ab630
commit f6b0e45cdd
2 changed files with 18 additions and 9 deletions

View file

@ -32,6 +32,9 @@ let chalkInstance = new chalk();
chalkInstance = new chalk.constructor();
chalkInstance = chalk.constructor();
let x = 'imastring';
x = chalk();
chalk.enabled;
chalk.level;
chalk.supportsColor.level;