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