diff --git a/client/@types/i18next.d.ts b/client/@types/i18next.d.ts index 48cba98..b315d71 100644 --- a/client/@types/i18next.d.ts +++ b/client/@types/i18next.d.ts @@ -1,12 +1,15 @@ // Paramètres personnalisés pour le typage de i18next. import "i18next"; +import type common from "@public/locales/en/common.json"; declare module "i18next" { interface CustomTypeOptions { defaultNS: "common"; - resources: I18nNamespaces; + resources: { + common: typeof common; + }; returnNull: false; returnEmptyString: false; }