Title: Add Intl.PluralRules to DOM types · Issue #23691 · microsoft/TypeScript · GitHub
Open Graph Title: Add Intl.PluralRules to DOM types · Issue #23691 · microsoft/TypeScript
X Title: Add Intl.PluralRules to DOM types · Issue #23691 · microsoft/TypeScript
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 o...
Open Graph 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:...
X 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:...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/23691
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add Intl.PluralRules to DOM types","articleBody":"**TypeScript Version:** 2.8.3\r\n\r\n**Search Terms:** \r\n- Intl.PluralRules\r\n- Intl\r\n- pluralrules\r\n\r\n(searched all issues, the wiki, the code, google, and stackoverflow)\r\n\r\n**Code**\r\n\r\n```ts\r\nconst plurals = new Intl.PluralRules(); // error: Property 'PluralRules' does not exist on type 'typeof Intl'.\r\n```\r\n\r\n**Gist:**\r\n\r\n`Intl.PluralRules` is at [Stage 4](https://github.com/tc39/proposal-intl-plural-rules) and is [supported by most browsers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/PluralRules). In addition, there is a TC39 polyfill that exists for older browsers. I'd expect this now to exist in the DOM type definitions.\r\n\r\n**Expected behavior:** `Intl.PluralRules` to be defined.\r\n\r\n**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.)\r\n\r\n**Playground Link:** N/A\r\n\r\n**Related Issues:** None that I could locate.\r\n","author":{"url":"https://github.com/dsifford","@type":"Person","name":"dsifford"},"datePublished":"2018-04-25T21:59:33Z","url":"https://github.com/microsoft/TypeScript/issues/23691"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:55e52050-2dee-e375-0692-d8d2c71d8d09 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E43C:2270F4:285CC53:359BFA2:6B01B002 |
| html-safe-nonce | 0e20d84dac8a01123e36e80b54aa79377cf1191d64b544f1a784204a72f3f15a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDNDOjIyNzBGNDoyODVDQzUzOjM1OUJGQTI6NkIwMUIwMDIiLCJ2aXNpdG9yX2lkIjoiNjMzNjAyNzI5ODc2NTAwNDgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5b076738e7c57c0224e829ef75ac6cf9a2fbee30d6e9da3ad2963d7e39b7bb82 |
| hovercard-subject-tag | issue:317809086 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/23691/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c002905dbc0ff5130875cb247433992211e39357a32438eafcb0ccb617aff903/microsoft/TypeScript/issues/23691 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c002905dbc0ff5130875cb247433992211e39357a32438eafcb0ccb617aff903/microsoft/TypeScript/issues/23691 |
| og:image:alt | 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:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dsifford |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width