Add types property to package.json
Repugraf opened this issue · 2 comments
Repugraf commented
If the package has types
property in package.json
pointing to d.ts
file it will have ts
icon on npm page indicating it has build in typescript types.
For example here is the chalk package
And here is how their package.json
looks like:
So for this package to have the same icon on npm types
property should be added to package.json
with the value of ./types/dist/index.d.ts
.
This should be really easy to do.
armando-rodriguez-cko commented
armando-rodriguez-cko commented
Thank you @Repugraf, we have a future task to introduce these improvements, at the moment we cannot do it, thank you very much, we will take it into account and write it down.