Closed
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.