mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-16 12:29:26 +02:00
Reverted biome breaking i18next
This commit is contained in:
parent
9b4b286409
commit
b26124501e
5
src/typings/i18next.d.ts
vendored
5
src/typings/i18next.d.ts
vendored
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user