Add TypeScript definitions (#207)
This commit is contained in:
parent
5e6d5fda44
commit
f653b061d6
5 changed files with 152 additions and 2 deletions
1
index.js
1
index.js
|
|
@ -218,3 +218,4 @@ Object.defineProperties(Chalk.prototype, styles);
|
|||
|
||||
module.exports = Chalk(); // eslint-disable-line new-cap
|
||||
module.exports.supportsColor = supportsColor;
|
||||
module.exports.default = module.exports; // For TypeScript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue