rehypejs / rehype-minify

plugins to minify HTML
https://unifiedjs.com
MIT License
89 stars 16 forks source link

Add type annotations for hast-util-to-string #40

Closed remcohaszing closed 3 years ago

remcohaszing commented 3 years ago

I’m not really sure how to fit this in the mono repo.

wooorm commented 3 years ago

Hmm. I'm currently about to hit hast utilities, although this is in rehype and will come later. So expect the repo to be typed soon, and don't spend too much time on it I'd say.

You'll probably have to delve into the generation scripts. I think index.d.ts would be picked up automatically, but the types field would have to be conditional

wooorm commented 3 years ago

Solved in https://github.com/rehypejs/rehype-minify/commit/88493cbbc19d89c29748f6ac6b46cf2fd731f93d

github-actions[bot] commented 3 years ago

Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the no/* labels.