Microsoft/TypeScript
Ver no GitHubMissing Intl.Locale.prototype.getWeekInfo()
Open
#61.713 aberto em 16 de mai. de 2025
BugDomain: lib.d.tsHelp Wanted
Métricas do repositório
- Stars
- (48.455 stars)
- Métricas de merge de PR
- (Mesclagem média 6d 17h) (9 fundiu PRs em 30d)
Description
⚙ 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());