Skip to content

Missing Intl.Locale.prototype.getWeekInfo() #61713

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

Open
sonicdoe opened this issue May 16, 2025 · 1 comment
Open

Missing Intl.Locale.prototype.getWeekInfo() #61713

sonicdoe opened this issue May 16, 2025 · 1 comment
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

Comments

@sonicdoe
Copy link

⚙ Compilation target

esnext

⚙ Library

ESNext

Missing / Incorrect Definition

Intl.Locale.prototype.getWeekInfo() of the Intl Locale Info API is missing.

The method is available in multiple major browsers as well as in Node.js since v18.

Sample Code

const enUS = new Intl.Locale("en-US");
console.log(enUS.getWeekInfo());

Documentation Link

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo

@RyanCavanaugh RyanCavanaugh added Bug A bug in TypeScript Help Wanted You can do this Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels May 16, 2025
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone May 16, 2025
@wlib
Copy link

wlib commented May 17, 2025

There's also this related PR that's been on hold #58084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants