From b26124501e102585e09709ec7cbc3902f47e327b Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Sun, 27 Jul 2025 23:41:37 -0400 Subject: [PATCH] Reverted biome breaking i18next --- src/typings/i18next.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; + } }