mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-06 05:36:02 +02:00
21 lines
512 B
TypeScript
21 lines
512 B
TypeScript
import "react-i18next";
|
|
|
|
import app from "~/public/locales/en/app.json";
|
|
import common from "~/public/locales/en/common.json";
|
|
import errors from "~/public/locales/en/errors.json";
|
|
import homepage from "~/public/locales/en/homepage.json";
|
|
|
|
interface I18nNamespaces {
|
|
homepage: typeof homepage;
|
|
app: typeof app;
|
|
common: typeof common;
|
|
errors: typeof errors;
|
|
}
|
|
|
|
declare module "i18next" {
|
|
interface CustomTypeOptions {
|
|
defaultNS: "common";
|
|
resources: I18nNamespaces;
|
|
returnNull: false;
|
|
}
|
|
}
|