fix(ts): normalize default commonjs export

This commit is contained in:
Martin Hochel 2018-12-11 21:30:10 +01:00
parent 70bb378e8e
commit fd88a5bf7b
3 changed files with 15 additions and 10 deletions

View file

@ -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