i18next 23.2.8 → 23.2.10

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.2.8"}
1
+ {"type":"module","version":"23.2.10"}
package/index.d.ts CHANGED
@@ -907,6 +907,7 @@ type AppendKeyPrefix<Key, KPrefix> = KPrefix extends string
907
907
  * T function declaration *
908
908
  **************************/
909
909
  export interface TFunction<Ns extends Namespace = _DefaultNamespace, KPrefix = undefined> {
910
+ $TFunctionBrand: Ns;
910
911
  <
911
912
  Key extends ParseKeys<Ns, TOpt, KPrefix> | TemplateStringsArray,
912
913
  TOpt extends TOptions,
@@ -1435,7 +1436,7 @@ export interface i18n {
1435
1436
  /**
1436
1437
  * Emit event
1437
1438
  */
1438
- emit(eventName: string): void;
1439
+ emit(eventName: string, ...args: any[]): void;
1439
1440
  }
1440
1441
 
1441
1442
  declare const i18next: i18n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18next",
3
- "version": "23.2.8",
3
+ "version": "23.2.10",
4
4
  "description": "i18next internationalization framework",
5
5
  "main": "./dist/cjs/i18next.js",
6
6
  "module": "./dist/esm/i18next.js",