dry-wash-pl/src/models/i18next.d.ts

12 lines
269 B
TypeScript

import defaultLocale from '../../locales/ru.json';
import { CreateTree } from '../lib';
type LanguageResource = CreateTree<keyof typeof defaultLocale>;
declare module "i18next" {
interface CustomTypeOptions {
resources: {
'~': LanguageResource
}
}
}