Files
element-call/src/@types/i18next.d.ts

21 lines
423 B
TypeScript
Raw Normal View History

/*
Copyright 2023, 2024 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only
Please see LICENSE in the repository root for full details.
*/
import "i18next";
// import all namespaces (for the default language, only)
import app from "../../locales/en/app.json";
declare module "i18next" {
interface CustomTypeOptions {
defaultNS: "app";
2023-11-20 13:47:36 +00:00
keySeparator: ".";
resources: {
app: typeof app;
};
}
}