HTMLHint
HTMLHint copied to clipboard
Why types are not shipped into npm together?
This project is written in TypeScript now, but we can't use its typings directly.
@JounQin thanks for pointing that out. I will review this soon.
cc @thedaviddias
I created PR to solve this issue #865
any updates on this?
Landed here while trying to figure out why TS was complaining about "href-abs-or-rel": false
as a config option (docs explicitly say false
is a valid value!). Was over at the Definitely Typed project looking at the type defs there, then came here to see if they aligned with the source code here and was surprised to see everything written in TS here.
So... I guess that's two bugs. Types don't align with the docs, and types should really be published with the package.
I don't think this project is actively maintained by @thedaviddias sadly.
This is something I'd be interested in tackling, but (the old PR implementing this was closed), but it seems that good features are stalled in the PR queue. I currently have 2 small PRs that still need to be reviewed and merged.