Skip to content

ResolvedNumberFormatOptions is missing currencySign option #43958

Closed

Description

@snowystinger

Bug Report

currencySign is missing from NumberFormatOptions

🔎 Search Terms

currencySign

🕗 Version & Regression Information

I can see it's missing in the types for es5, just as it was added to the options here #40709 I'll create a pull tomorrow hopefully

⏯ Playground Link

Updated Playground link with relevant code

💻 Code

let formatter = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' });
formatter.resolvedOptions().currencySign;

🙁 Actual behavior

I get a TS error Property 'currencySign' does not exist on type 'ResolvedNumberFormatOptions'.(2339)

🙂 Expected behavior

I shouldn't get a TS error

Activity

  1. locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions