Skip to content

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

Open
@sonicdoe

Description

@sonicdoe

⚙ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions