@kingteza/crud-component 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/locale/index.d.ts +4 -4
- package/package.json +1 -1
package/locale/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TRANSLATION_NAMESPACE } from '../locale/hooks/translation-constants';
|
|
2
2
|
import { default as en } from './translations/en';
|
|
3
|
-
import {
|
|
3
|
+
import { i18n as i18nType } from 'i18next';
|
|
4
4
|
export declare const defaultTranslations: {
|
|
5
5
|
en: {
|
|
6
6
|
"crud-component": {
|
|
@@ -68,7 +68,7 @@ export interface SetupI18nOptions {
|
|
|
68
68
|
[TRANSLATION_NAMESPACE]: LibTranslations;
|
|
69
69
|
}>;
|
|
70
70
|
language?: string;
|
|
71
|
-
i18nInstance?:
|
|
71
|
+
i18nInstance?: i18nType;
|
|
72
72
|
}
|
|
73
|
-
export declare const setupI18n: (options?: SetupI18nOptions) =>
|
|
74
|
-
export declare const updateTranslations: (language: string, translations: Record<string, any>, i18nInstance?:
|
|
73
|
+
export declare const setupI18n: (options?: SetupI18nOptions) => i18nType;
|
|
74
|
+
export declare const updateTranslations: (language: string, translations: Record<string, any>, i18nInstance?: i18nType) => void;
|