You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option 1 is correct even though it's not exactly intuitive. ISO-4217 includes many "numeric code" values with leading zeros such as 008 (Albanian Lek, ALL) and 032 (Argentine peso, ARS) among many others. The name for this field is unfortunate, given it does not reflect the type of value it contains.
This type definition is incorrect:
currency-codes/index.d.ts
Line 18 in 6de7fe6
The 'number' field in data is a string. There are two solutions to this:
string[]
I'd be happy to open a PR for whichever solution is prefered. Personally, I'd prefer
number
to be an array of numbers :)The text was updated successfully, but these errors were encountered: