HTMLHint icon indicating copy to clipboard operation
HTMLHint copied to clipboard

Why types are not shipped into npm together?

Open JounQin opened this issue 3 years ago • 7 comments

This project is written in TypeScript now, but we can't use its typings directly.

JounQin avatar Apr 23 '21 10:04 JounQin

@JounQin thanks for pointing that out. I will review this soon.

thedaviddias avatar May 26 '21 04:05 thedaviddias

cc @thedaviddias

JounQin avatar Jul 27 '21 04:07 JounQin

I created PR to solve this issue #865

martin-badin avatar Jan 14 '22 09:01 martin-badin

any updates on this?

admir86 avatar Jan 31 '23 14:01 admir86

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.

broofa avatar Oct 23 '23 22:10 broofa

I don't think this project is actively maintained by @thedaviddias sadly.

JounQin avatar Oct 24 '23 04:10 JounQin

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.

hyperupcall avatar Oct 26 '23 02:10 hyperupcall