### ⚙ Compilation target esnext ### ⚙ Library ESNext ### Missing / Incorrect Definition [`Intl.Locale.prototype.getWeekInfo()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo) of the [Intl Locale Info API](https://tc39.es/proposal-intl-locale-info/) is missing. The method is available in multiple major browsers as well as in Node.js since v18. ### Sample Code ```TypeScript 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
Activity
wlib commentedon May 17, 2025
There's also this related PR that's been on hold #58084
mauroviniciussilva commentedon Aug 28, 2025
Any updates on this issue or in the related pull request? As I've seen, the latest update on the mentioned pull request is from 2024.
json-derulo commentedon Dec 11, 2025
Note that Firefox does not support this function, so it's not safe to use in modern web.
You can track the implementation in their issue tracker.
HolgerJeromin commentedon Sep 7, 2026
This API is now part of TS7 with lib
"ESNext.Intl"https://github.com/microsoft/TypeScript/blame/1f70213d4922b434345f639b441681e470c7cfc1/tsc/internal/bundled/libs/lib.esnext.intl.d.ts#L71