mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-18 08:47:24 +02:00
⬆️ Upgrade i18next (#1592)
This commit is contained in:
parent
8c84a92a58
commit
bff2dd3a20
15 changed files with 56 additions and 65 deletions
|
@ -20,9 +20,6 @@ const i18nDefaultConfig: InitOptions = {
|
|||
ns: ["emails"],
|
||||
fallbackNS: "emails",
|
||||
defaultNS: "emails",
|
||||
interpolation: {
|
||||
escapeValue: false,
|
||||
},
|
||||
} as const;
|
||||
|
||||
export type I18nInstance = typeof i18nInstance;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue