Commit graph

9 commits

Author SHA1 Message Date
Florian Reuschel
d82b2a6638 Add missing false type to chalk.supportsColor (#347) 2019-06-11 00:47:16 +07:00
ExE Boss
b3e9b91405 Fix TypeScript types for supportsColor which is top‑level only (#342)
Co-Authored-By: Dimitri Benin <BendingBender@users.noreply.github.com>
2019-05-11 15:04:20 +07:00
Dimitri Benin
98628d9f08 Use CommonJS-compatible export in TypeScript definition (#344) 2019-04-28 11:10:44 +07:00
Sindre Sorhus
3ef170b457 Require Node.js 8 2019-03-12 20:15:36 +07:00
Tom Sherman
de2f4cd606 Deprecate chalk.constructor() in favor of new chalk.Instance() (#322) 2019-03-12 19:53:03 +07:00
Jonathan Van Buren
7f6e5630b0 Change tagged template literal argument type to accept unknown instead of just string (#316) 2018-12-28 12:13:56 +01:00
Sindre Sorhus
1284415013 Enforce chalk.constructor to be called with new in TypeScript 2018-12-26 02:27:57 +01:00
Sindre Sorhus
cf6615647a Type definition improvements 2018-12-26 02:27:02 +01:00
George Gkasdrogkas
90c7a92ff1 Add docs comments and tests for TypeScript definitions (#299)
Fixes #293
2018-12-26 02:06:00 +01:00