From 0449b3f2eaa0f3d5320e8d4a3fb73becc669b339 Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Sun, 27 Jul 2025 23:32:58 -0400 Subject: [PATCH] Ran biome --- global.d.ts | 2 -- src/typings/i18next.d.ts | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/global.d.ts b/global.d.ts index 27e96a4d8b5..6741a15864c 100644 --- a/global.d.ts +++ b/global.d.ts @@ -1,7 +1,5 @@ import type { SetupServerApi } from "msw/node"; -export {}; - declare global { /** * Only used in testing. diff --git a/src/typings/i18next.d.ts b/src/typings/i18next.d.ts index 0eaa1e6ff0f..dfa256f5abc 100644 --- a/src/typings/i18next.d.ts +++ b/src/typings/i18next.d.ts @@ -2,7 +2,5 @@ import type { TOptions } from "i18next"; // Module declared to make referencing keys in the localization files type-safe. declare module "i18next" { - interface TFunction { - (key: string | string[], options?: TOptions & Record): string; - } + type TFunction = (key: string | string[], options?: TOptions & Record) => string; }