-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
TypeScript Version: 2.8.3
Search Terms:
- Intl.PluralRules
- Intl
- pluralrules
(searched all issues, the wiki, the code, google, and stackoverflow)
Code
const plurals = new Intl.PluralRules(); // error: Property 'PluralRules' does not exist on type 'typeof Intl'.
Gist:
Intl.PluralRules
is at Stage 4 and is supported by most browsers. In addition, there is a TC39 polyfill that exists for older browsers. I'd expect this now to exist in the DOM type definitions.
Expected behavior: Intl.PluralRules
to be defined.
Actual behavior: Intl.PluralRules
isn't defined anywhere. (I actually even took it one further and ripgrepped the entire repository for PluralRules
and there were 0 matches.)
Playground Link: N/A
Related Issues: None that I could locate.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this