HarryStevens / geometric

A JavaScript library for doing geometry.
https://www.npmjs.com/package/geometric
MIT License
970 stars 49 forks source link

Integrate typescript types #43

Open yannbriancon opened 1 year ago

yannbriancon commented 1 year ago

Currently, typescript types are given and maintained through DefinitelyTyped (code, npm).

I saw some missing types like the new epsilons. Would you consider adding the types to the repo and maintaining them here to avoid unsynchronised types?

HarryStevens commented 1 year ago

Yes, I really need to do this. I also got this suggestion in a pull request.

I am not a TypeScript user myself. Can you recommend any good tutorials so I understand what I'd need to do to add this?