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.
@@ -1 +1 @@
1
- {"type":"module","version":"23.7.5"}
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 i18n extends i18nextMod.i18n {}
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 i18n {
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 i18n {
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18next",
3
- "version": "23.7.5",
3
+ "version": "23.7.6",
4
4
  "description": "i18next internationalization framework",
5
5
  "main": "./dist/cjs/i18next.js",
6
6
  "module": "./dist/esm/i18next.js",