From e1e6bead89ca3f84764649d53d0326353434b794 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Sat, 2 Mar 2024 19:13:02 +0900 Subject: [PATCH] chore: add ts-ignore --- src/shared.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared.ts b/src/shared.ts index 68449d8..9eaed34 100644 --- a/src/shared.ts +++ b/src/shared.ts @@ -42,6 +42,7 @@ export function toLocale(val: string | Intl.Locale): Intl.Locale { */ export function validateLangTag(lang: string): boolean { try { + // @ts-ignore NOTE: https://github.com/microsoft/TypeScript/pull/56079 Intl.getCanonicalLocales(lang) return true } catch {