⬆️ Upgrade i18next (#1592)

This commit is contained in:
Luke Vella 2025-03-01 15:56:56 +00:00 committed by GitHub
parent 8c84a92a58
commit bff2dd3a20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 56 additions and 65 deletions

View file

@ -20,9 +20,6 @@ const i18nDefaultConfig: InitOptions = {
ns: ["emails"],
fallbackNS: "emails",
defaultNS: "emails",
interpolation: {
escapeValue: false,
},
} as const;
export type I18nInstance = typeof i18nInstance;

View file

@ -9,7 +9,7 @@ export type EmailContext = {
domain: string;
supportEmail: string;
i18n: I18nInstance;
t: TFunction<"emails", undefined, "emails">;
t: TFunction;
};
export type TemplateName = keyof EmailTemplates;