bengourley / currency-symbol-map

A function to lookup the currency symbol for a given currency code
BSD 2-Clause "Simplified" License
326 stars 112 forks source link

Add TypeScript typings #53

Closed LinusU closed 3 years ago

LinusU commented 5 years ago

Been using these typings in a commercial project for some years now, haven't had any problems with them πŸ‘

LinusU commented 4 years ago

ping @bengourley ☺️

sirajalam049 commented 4 years ago

Seems like the package is no longer maintained.

LinusU commented 4 years ago

@bengourley I'd be happy to jump on as a maintainer if you no longer have time with this :)

sirajalam049 commented 4 years ago

I created my own package for this, fixes all the issues in this package + typescript + few utils functions too.

https://github.com/sirajalam049/currency-code-symbol-map

namenyi commented 3 years ago

@LinusU thanks for the contribution!

I added a minor change, because there was a warning:

Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

Merging it now and will publish it soon.

namenyi commented 3 years ago

Released in v5.0.0