feat: default export + typescript definitions
This commit is contained in:
parent
9c3d0f381c
commit
5d9f316842
4 changed files with 96 additions and 90 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue