mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-23 21:07:10 +02:00
19 lines
501 B
TypeScript
19 lines
501 B
TypeScript
import "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";
|
|
|
|
declare module "i18next" {
|
|
interface CustomTypeOptions {
|
|
defaultNS: "common";
|
|
resources: {
|
|
common: typeof common;
|
|
home: typeof home;
|
|
pricing: typeof pricing;
|
|
blog: typeof blog;
|
|
};
|
|
returnNull: false;
|
|
}
|
|
}
|