myelin.dev
Version:
**Translation infrastructure that sparks joy** ✨
16 lines (12 loc) • 341 B
TypeScript
import { i18nOptions } from "@/libs/i18n-next/i18n-config";
import common from "@/locales/en/common.json";
import home from "@/locales/en/home.json";
declare module "i18next" {
interface CustomTypeOptions {
defaultNS: typeof i18nOptions.defaultNS;
resources: {
common: typeof common;
home: typeof home;
};
}
}