i18next 23.7.5 → 23.7.6
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/dist/esm/package.json +1 -1
- package/index.d.mts +5 -1
- package/index.d.ts +3 -1
- package/index.v4.d.ts +3 -1
- package/package.json +1 -1
package/dist/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"23.7.
|
|
1
|
+
{"type":"module","version":"23.7.6"}
|
package/index.d.mts
CHANGED
|
@@ -38,7 +38,11 @@ export type * from './typescript/options.js';
|
|
|
38
38
|
export type * from './typescript/t.js';
|
|
39
39
|
|
|
40
40
|
// tslint:disable-next-line:no-empty-interface
|
|
41
|
-
export interface
|
|
41
|
+
export interface CustomInstanceExtenstions {}
|
|
42
|
+
|
|
43
|
+
// tslint:disable-next-line:no-empty-interface
|
|
44
|
+
export interface i18n extends i18nextMod.i18n, CustomInstanceExtenstions {}
|
|
45
|
+
|
|
42
46
|
declare const i18next: i18n;
|
|
43
47
|
export default i18next;
|
|
44
48
|
|
package/index.d.ts
CHANGED
|
@@ -216,7 +216,9 @@ export interface CloneOptions extends InitOptions {
|
|
|
216
216
|
forkResourceStore?: boolean;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export interface
|
|
219
|
+
export interface CustomInstanceExtenstions {}
|
|
220
|
+
|
|
221
|
+
export interface i18n extends CustomInstanceExtenstions {
|
|
220
222
|
// Expose parameterized t in the i18next interface hierarchy
|
|
221
223
|
t: TFunction<[DefaultNamespace, ...Exclude<FlatNamespace, DefaultNamespace>[]]>;
|
|
222
224
|
|
package/index.v4.d.ts
CHANGED
|
@@ -216,7 +216,9 @@ export interface CloneOptions extends InitOptions {
|
|
|
216
216
|
forkResourceStore?: boolean;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export interface
|
|
219
|
+
export interface CustomInstanceExtenstions {}
|
|
220
|
+
|
|
221
|
+
export interface i18n extends CustomInstanceExtenstions {
|
|
220
222
|
// Expose parameterized t in the i18next interface hierarchy
|
|
221
223
|
t: TFunction<[DefaultNamespace, ...Exclude<FlatNamespace, DefaultNamespace>[]]>;
|
|
222
224
|
|