Intl.NumberFormatOptions options are missing #52072
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
Milestone
Bug Report
Hi. According to specification
Intl.NumberFormat
containsnumberingSystem
option, but typescript throws the errorObject literal may only specify known properties, and 'numberingSystem' does not exist in type 'NumberFormatOptions'
🔎 Search Terms
Intl, NumberFormatOptions
🕗 Version & Regression Information
"typescript": "^4.9.4"
💻 Code
I have a monorepo with this structure
root
base.tsconfig.json
app1/tsconfig.json
app1/index.ts
🙁 Actual behavior
After type checking typescript throws error
🙂 Expected behavior
The typescript correctly checks the types that are specified in the specification
The text was updated successfully, but these errors were encountered: