Reverted biome breaking i18next

This commit is contained in:
Bertie690 2025-07-27 23:41:37 -04:00
parent 9b4b286409
commit b26124501e

View File

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