mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-23 05:46:20 +02:00
21 lines
528 B
TypeScript
21 lines
528 B
TypeScript
import "react-i18next";
|
|
|
|
import type blog from "../public/locales/en/blog.json";
|
|
import type common from "../public/locales/en/common.json";
|
|
import type home from "../public/locales/en/home.json";
|
|
import type pricing from "../public/locales/en/pricing.json";
|
|
|
|
interface I18nNamespaces {
|
|
common: typeof common;
|
|
home: typeof home;
|
|
pricing: typeof pricing;
|
|
blog: typeof blog;
|
|
}
|
|
|
|
declare module "i18next" {
|
|
interface CustomTypeOptions {
|
|
defaultNS: "common";
|
|
resources: I18nNamespaces;
|
|
returnNull: false;
|
|
}
|
|
}
|