rallly/apps/web/declarations/i18next.d.ts
2024-12-01 23:51:49 +00:00

16 lines
323 B
TypeScript

import "i18next";
import type emails from "@rallly/emails/locales/emails.json";
import type app from "../public/locales/en/app.json";
declare module "i18next" {
interface CustomTypeOptions {
defaultNS: "app";
returnNull: false;
resources: {
app: typeof app;
emails: typeof emails;
};
}
}