From: btea <2356281422@qq.com> Date: Thu, 25 Apr 2024 23:49:24 +0000 (+0800) Subject: chore: remove ts-ignore X-Git-Tag: v3.10.4~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444131239574f337f5564eead20948a445ff486a;p=thirdparty%2Fvuejs%2Fcreate-vue.git chore: remove ts-ignore --- diff --git a/utils/getLanguage.ts b/utils/getLanguage.ts index 39ec319d..b3bc8233 100644 --- a/utils/getLanguage.ts +++ b/utils/getLanguage.ts @@ -54,7 +54,6 @@ interface Language { function linkLocale(locale: string) { let linkedLocale: string try { - // @ts-ignore linkedLocale = Intl.getCanonicalLocales(locale)[0] } catch (error) { console.log(`${error.toString()}\n`)