New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript type definition #148
Comments
I usually don't do this, for reasons outlined in sindresorhus/ama#439, but since Chalk is one of the most popular packages on npm, I'm gonna accept it if you or someone else can commit to maintain it. |
Since I write quite a bit of TypeScript, I could write a typing for Chalk and maintain it... That wouldn't be an issue. |
@basedjux That would be awesome. Pull request welcome :) |
@sindresorhus cool! |
Never mind @sindresorhus, looks like someone beat me to it writing a definition: |
That one is very outdated. |
Ah yeah it is, 3 months. |
It's based on a more than 2 year old Chalk version. |
Yeesh yeah that's scary outdated. |
@basedjux @sindresorhus Is this going to be distributed with the npm package? I think that's the best way to create a seamless experience. |
Yes |
@basedjux We just bumped to v2 by the way :) |
@Qix- Yeah, I saw the tweet! |
This was added in v2.2.0. |
It would be good to have the typings for chalk distributed with the npm package:
The text was updated successfully, but these errors were encountered: