Skip to content

Add currency sign to NumberFormatOptions type - #40709

Merged
Nathan Shively-Sanders (sandersn) merged 1 commit into
microsoft:masterfrom
maurobringolf:add-currencySign
Oct 6, 2020
Merged

Nathan Shively-Sanders (sandersn) merged 1 commit into
microsoft:masterfrom
maurobringolf:add-currencySign

Conversation

@maurobringolf

Copy link
Copy Markdown
Contributor

This adds the missing currencySign field to the NumberFormatOptions type. It is my first time working with this codebase, so there probably is a better place to put the corresponding test? (example taken from the issue).

Fixes #40622.

@typescript-bot TypeScript Bot (typescript-bot) added the For Backlog Bug PRs that fix a backlog bug label Sep 22, 2020
@ghost

Deleted user (ghost) commented Sep 22, 2020 •

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@sandersn

Copy link
Copy Markdown
Member

As Daniel Rosenwasser (@DanielRosenwasser) points out on the later PR for this same bug, we may need to consider a general solution to decouple Intl versions from the standard library. For a fix like this I don't think it's needed though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

NumberFormatOptions is missing currencySign option

3 participants