-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locale
: Deprecate currency information
#3278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, a few little things
Looks good - thanks! @bobrippling is that locale.ts file autogenerated, so Espruino itself should be updated to add the deprecated label? |
|
Yes, I think it's best as-is... Thanks! |
Closes #3269
The currency information now always returns British pounds no matter the locale.
Using the currency method logs a deprecation warning. The TS types are also updated to mark the API as deprecated.
The raw currency data is removed because we don't use it.
I have tested these changes and could not find any issues.