feat: default export + typescript definitions

This commit is contained in:
calebboyd 2017-09-09 13:19:05 -05:00
parent 9c3d0f381c
commit 5d9f316842
4 changed files with 96 additions and 90 deletions

View file

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