rallly/apps/web/declarations/i18next.d.ts
Luke Vella f4218c3115
Translations for Email Notifications (#1278)
Co-authored-by: Niko Heller <hellerniko@gmail.com>
2024-09-02 19:30:58 +01:00

18 lines
342 B
TypeScript

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