mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
fix: tsc
This commit is contained in:
@@ -65,7 +65,9 @@ export const resources = {
|
||||
} as const;
|
||||
|
||||
export type I18nNamespaces = keyof (typeof resources)['en'];
|
||||
export type FullI18nKey = `${string}:${ParseKeys<I18nNamespaces>}`;
|
||||
export type FullI18nKey = {
|
||||
[K in I18nNamespaces]: `${K}:${ParseKeys<K>}`;
|
||||
}[I18nNamespaces];
|
||||
|
||||
i18n.use(Backend).use(initReactI18next).init({
|
||||
resources,
|
||||
|
||||
Reference in New Issue
Block a user