diff --git a/src/typings/i18next.d.ts b/src/typings/i18next.d.ts index dfa256f5abc..b409528a5d7 100644 --- a/src/typings/i18next.d.ts +++ b/src/typings/i18next.d.ts @@ -2,5 +2,8 @@ import type { TOptions } from "i18next"; // Module declared to make referencing keys in the localization files type-safe. declare module "i18next" { - type TFunction = (key: string | string[], options?: TOptions & Record) => string; + interface TFunction { + // biome-ignore lint/style/useShorthandFunctionType: IDK why this breaks everything but it does + (key: string | string[], options?: TOptions & Record): string; + } }