mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-30 16:40:05 +08:00
54cc7827b6
Fix i18n merge issues Add blank line dashboard.json Remove console.log Alphabeticalise Pre-commit Fix i18n key warnings add util function Fix Task.storties.tsx Revert pass duplicate prop
20 lines
563 B
TypeScript
20 lines
563 B
TypeScript
import "i18next";
|
|
|
|
import type common from "public/locales/en/common.json";
|
|
import type dashboard from "public/locales/en/dashboard.json";
|
|
import type index from "public/locales/en/index.json";
|
|
import type leaderboard from "public/locales/en/leaderboard.json";
|
|
import type tasks from "public/locales/en/tasks.json";
|
|
|
|
declare module "i18next" {
|
|
interface CustomTypeOptions {
|
|
resources: {
|
|
common: typeof common;
|
|
dashboard: typeof dashboard;
|
|
index: typeof index;
|
|
leaderboard: typeof leaderboard;
|
|
tasks: typeof tasks;
|
|
};
|
|
}
|
|
}
|