alwinb / reurl

URL manipulation library that supports relative URLs in a way that is compatible with the WHATWG URL Standard.
MIT License
8 stars 4 forks source link

TypeScript Types? #10

Open mrbinky3000 opened 2 months ago

mrbinky3000 commented 2 months ago

Do you have any typescript types defined for this project? Do you know if someone has already created types for this project?

alwinb commented 1 month ago

Hi! My apologies for the slow reply. I’m rather preoccupied with other work!

I am not aware of any typescript annotations for the project.

I can see some benefits but I don’t use it myself and so I tend to not keep the annotations up to date. (I work in specific settings where it ends up really slowing things down, despite the advantages).

Since this is a common question though, I am now considering adding a section to the readme with a note similar to the above. Then users can copy it and make minor adjustments themselves as needed, without committing to fully testing and maintaining it.

Would that seem like a good solution to you?