Skip to content

Commit e1e6bea

Browse files
committed
chore: add ts-ignore
1 parent 7867c66 commit e1e6bea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shared.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export function toLocale(val: string | Intl.Locale): Intl.Locale {
4242
*/
4343
export function validateLangTag(lang: string): boolean {
4444
try {
45+
// @ts-ignore NOTE: https://github.com/microsoft/TypeScript/pull/56079
4546
Intl.getCanonicalLocales(lang)
4647
return true
4748
} catch {

0 commit comments

Comments
 (0)