react-i18next 11.14.2 → 11.14.3
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/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/ts4.1/index.d.ts +3 -3
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-i18next",
|
|
3
|
-
"version": "11.14.
|
|
3
|
+
"version": "11.14.3",
|
|
4
4
|
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
|
|
5
5
|
"main": "dist/commonjs/index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"rollup-plugin-terser": "^5.1.1",
|
|
86
86
|
"sinon": "^7.2.3",
|
|
87
87
|
"tslint": "^5.20.1",
|
|
88
|
-
"typescript": "^4.
|
|
88
|
+
"typescript": "^4.5.2",
|
|
89
89
|
"yargs": "^13.3.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
package/ts4.1/index.d.ts
CHANGED
|
@@ -184,9 +184,9 @@ type NormalizeWithKeyPrefix<
|
|
|
184
184
|
: Normalize<T[K]>
|
|
185
185
|
: never;
|
|
186
186
|
|
|
187
|
-
type KeyPrefix<N extends Namespace> =
|
|
188
|
-
? Normalize<DefaultResources[N]>
|
|
189
|
-
|
|
187
|
+
type KeyPrefix<N extends Namespace> =
|
|
188
|
+
| (N extends keyof DefaultResources ? Normalize<DefaultResources[N]> : string)
|
|
189
|
+
| undefined;
|
|
190
190
|
|
|
191
191
|
export type TFuncKey<
|
|
192
192
|
N extends Namespace = DefaultNamespace,
|