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)}`;