mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-01 18:21:52 +02:00
♻️ Switch to turborepo (#532)
This commit is contained in:
parent
41ef81aa75
commit
0a836aeec7
419 changed files with 2300 additions and 2504 deletions
21
apps/web/declarations/i18next.d.ts
vendored
Normal file
21
apps/web/declarations/i18next.d.ts
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
import "react-i18next";
|
||||
|
||||
import app from "~/public/locales/en/app.json";
|
||||
import common from "~/public/locales/en/common.json";
|
||||
import errors from "~/public/locales/en/errors.json";
|
||||
import homepage from "~/public/locales/en/homepage.json";
|
||||
|
||||
interface I18nNamespaces {
|
||||
homepage: typeof homepage;
|
||||
app: typeof app;
|
||||
common: typeof common;
|
||||
errors: typeof errors;
|
||||
}
|
||||
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
defaultNS: "common";
|
||||
resources: I18nNamespaces;
|
||||
returnNull: false;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue