mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-22 10:47:26 +02:00
🧑💻 Update i18next types (#1453)
This commit is contained in:
parent
ca207a913e
commit
40df1ff9da
7 changed files with 17 additions and 30 deletions
8
packages/emails/i18next.d.ts
vendored
8
packages/emails/i18next.d.ts
vendored
|
@ -2,14 +2,12 @@ import "i18next";
|
|||
|
||||
import type emails from "./locales/en/emails.json";
|
||||
|
||||
interface I18nNamespaces {
|
||||
emails: typeof emails;
|
||||
}
|
||||
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
defaultNS: "emails";
|
||||
resources: I18nNamespaces;
|
||||
resources: {
|
||||
emails: typeof emails;
|
||||
};
|
||||
returnNull: false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue