Skip to content

Missing NumberFormatUnit symbol in lib.es2020.intl.d.ts #45804

Closed
@mjbvz

Description

@mjbvz

Bug Report

🔎 Search Terms

  • lib
  • d.ts

🕗 Version & Regression Information

4.5.0-dev.20210909

💻 Code

  1. Update the VS Code code base to build with the latest TS nightly
  2. Run yarn monaco-compile-check

Problem

https://github.com/microsoft/vscode/runs/3558995204?check_suite_focus=true

We see the errors:

Error: node_modules/typescript/lib/lib.es2020.intl.d.ts(222,9): error TS2717: Subsequent property declarations must have the same type.  Property 'type' must be of type 'ES2018NumberFormatPartType', but here has type 'ES2020NumberFormatPartType'.
9
Error: node_modules/typescript/lib/lib.es2020.intl.d.ts(229,16): error TS2304: Cannot find name 'NumberFormatUnit'.
10
Error: node_modules/typescript/lib/lib.es2020.intl.d.ts(237,16): error TS2304: Cannot find name 'NumberFormatUnit'.

I searched through the libs but also couldn't find where NumberFormatUnit is defined. Let me know if I've overlooked something silly

/cc @orta

Metadata

Metadata

Assignees

Labels

Fix AvailableA PR has been opened for this issueNeeds InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions