We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f96af5 commit d44580dCopy full SHA for d44580d
src/shared.ts
@@ -61,7 +61,6 @@ export function toLocale(val: string | Intl.Locale): Intl.Locale {
61
*/
62
export function validateLangTag(lang: string): boolean {
63
try {
64
- // @ts-ignore NOTE: https://github.com/microsoft/TypeScript/pull/56079
65
Intl.getCanonicalLocales(lang)
66
return true
67
} catch {
src/shim.d.ts
0 commit comments