ericman314 / UnitMath

JavaScript library for unit conversion and arithmetic
Apache License 2.0
31 stars 7 forks source link

TypeScript? #36

Closed cshaa closed 3 years ago

cshaa commented 3 years ago

Do you consider providing TypeScript definitions for the API? Or, better, porting the source code to TypeScript entirely? I consider using this package in a repository where type safety is crucial, so this would be a welcome addition for me.

If you do consider any of these two things, I'll be hapy to help with that in any way I can :)

ericman314 commented 3 years ago

Oh, yeah, that would be really cool! I'm in the middle of a big refactoring right now, and the API will change before we get to v1.0. The branch I'm actively working on now, and which I hope can become v1.0, is make-things-less-complicated.

I've only added typescript definitions to one other project before, and I've never written source code using typescript, but it's something I've been wanting to try.

ericman314 commented 3 years ago

Closing; please see #45