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.
- package/dist/esm/package.json +1 -1
- package/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"23.2.
|
|
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;
|