i18next 23.2.5 → 23.2.7
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 -0
- 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.7"}
|
package/index.d.ts
CHANGED
|
@@ -915,6 +915,8 @@ export interface TFunction<Ns extends Namespace = _DefaultNamespace, KPrefix = u
|
|
|
915
915
|
...args:
|
|
916
916
|
| [key: Key | Key[], options?: TOpt & InterpolationMap<Ret>]
|
|
917
917
|
| [key: Key | Key[], defaultValue: string, options?: TOpt & InterpolationMap<Ret>]
|
|
918
|
+
| [key: string | string[], options: TOpt & InterpolationMap<Ret> & { defaultValue: string }]
|
|
919
|
+
| [key: string | string[], defaultValue: string, options?: TOpt & InterpolationMap<Ret>]
|
|
918
920
|
): TFunctionReturnOptionalDetails<Ret, TOpt>;
|
|
919
921
|
}
|
|
920
922
|
|