mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-30 09:16:23 +02:00
🧑💻 Update i18next types (#1453)
This commit is contained in:
parent
ca207a913e
commit
40df1ff9da
7 changed files with 17 additions and 30 deletions
10
apps/web/declarations/i18next.d.ts
vendored
10
apps/web/declarations/i18next.d.ts
vendored
|
@ -4,15 +4,13 @@ import type emails from "@rallly/emails/locales/emails.json";
|
|||
|
||||
import type app from "../public/locales/en/app.json";
|
||||
|
||||
interface I18nNamespaces {
|
||||
app: typeof app;
|
||||
emails: typeof emails;
|
||||
}
|
||||
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
defaultNS: "app";
|
||||
resources: I18nNamespaces;
|
||||
returnNull: false;
|
||||
resources: {
|
||||
app: typeof app;
|
||||
emails: typeof emails;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue