fix(types): change overload order for better implicit any inference
This commit is contained in:
parent
381f4ab630
commit
f6b0e45cdd
2 changed files with 18 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue