mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-16 12:29:26 +02:00
Update src/typings/i18next.d.ts comment
This commit is contained in:
parent
b26124501e
commit
3a6a16f3ff
2
src/typings/i18next.d.ts
vendored
2
src/typings/i18next.d.ts
vendored
@ -3,7 +3,7 @@ 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" {
|
||||||
interface TFunction {
|
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;
|
(key: string | string[], options?: TOptions & Record<string, unknown>): string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user