manuelmhtr / countries-and-timezones

Minimalistic library to work with countries and timezones data
MIT License
224 stars 67 forks source link

Add TypeScript definitions #37

Closed benj-dobs closed 3 years ago

benj-dobs commented 3 years ago

And also fix the ESM export - let me know if you think this is a mistake! (#36 covers this in much more depth.)

There aren't any guards in place to stop someone changing the source JavaScript without updating the type definitions. In that respect, JSDoc might be a better solution.

Let me know what you think!

manuelmhtr commented 3 years ago

Amazing work, published in v3.2.0. Thanks @benj-dobs

benj-dobs commented 3 years ago

Thanks, Manuel!