Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS/JS general missing features #159272

Closed
rehberbey opened this issue Aug 26, 2022 · 1 comment
Closed

TS/JS general missing features #159272

rehberbey opened this issue Aug 26, 2022 · 1 comment
Assignees

Comments

@rehberbey
Copy link

Type: Bug

I don't know if you are adding missing features manually, but you better make a system that automates it.

Even though I opened this topic under the TS/JS title, I think this topic is also valid for other languages.

// @ts-expect-error - Property 'getCanonicalLocales' does not exist on type 'typeof Intl'.(2339)
console.log(Intl.getCanonicalLocales('EN-US')); // ["en-US"]

type INTL = keyof typeof Intl;
/*
| "Collator"
| "NumberFormat"
| "DateTimeFormat" 
| "PluralRules" 
| "RelativeTimeFormat" 
| "Locale" 
| "DisplayNames" 
| "ListFormat" 
| "Segmenter"
 */

VS Code version: Code 1.70.2 (e4503b3, 2022-08-16T05:35:13.448Z)
OS version: Windows_NT x64 10.0.22000
Modes:

@yume-chan
Copy link
Contributor

Duplicate of microsoft/TypeScript#29129

@mjbvz mjbvz closed this as completed Aug 26, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants