mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-08 06:36:07 +02:00
18 lines
342 B
TypeScript
18 lines
342 B
TypeScript
import "i18next";
|
|
|
|
import emails from "@rallly/emails/locales/emails.json";
|
|
|
|
import 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;
|
|
}
|
|
}
|