fix(ts): normalize default commonjs export
This commit is contained in:
parent
70bb378e8e
commit
fd88a5bf7b
3 changed files with 15 additions and 10 deletions
1
index.js
1
index.js
|
|
@ -222,4 +222,3 @@ Object.defineProperties(Chalk.prototype, styles);
|
|||
|
||||
module.exports = Chalk(); // eslint-disable-line new-cap
|
||||
module.exports.supportsColor = stdoutColor;
|
||||
module.exports.default = module.exports; // For TypeScript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue