Update src/typings/i18next.d.ts comment

This commit is contained in:
NightKev 2025-07-27 20:43:44 -07:00 committed by GitHub
parent b26124501e
commit 3a6a16f3ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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, unknown>): string;
}
}