From 8f74516e1ad3242ee6d24fb15cb75b7272f25681 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Fri, 6 Aug 2021 11:44:14 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/i18n/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/i18n/index.ts b/shared/i18n/index.ts index e20f516b..7623cb98 100644 --- a/shared/i18n/index.ts +++ b/shared/i18n/index.ts @@ -1,4 +1,4 @@ -import i18next, { TFunction } from 'i18next'; +import i18next, { TFunction, TOptionsBase } from 'i18next'; import { useTranslation as useI18NTranslation, initReactI18next, @@ -30,7 +30,7 @@ i18next export const t: TFunction = ( key: string, defaultValue?: string, - options?: any + options?: TOptionsBase ) => { try { const hashKey = `k${crc32(key).toString(16)}`;