react-i18next 11.16.6 → 11.16.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/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/ts4.1/index.d.ts +1 -3
- package/tslint.json +1 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-i18next",
|
|
3
|
-
"version": "11.16.
|
|
3
|
+
"version": "11.16.7",
|
|
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-replace": "^2.1.0",
|
|
86
86
|
"rollup-plugin-terser": "^5.1.1",
|
|
87
87
|
"sinon": "^7.2.3",
|
|
88
|
-
"tslint": "^
|
|
88
|
+
"tslint": "^6.1.3",
|
|
89
89
|
"typescript": "4.6.2",
|
|
90
90
|
"yargs": "^13.3.0"
|
|
91
91
|
},
|
package/ts4.1/index.d.ts
CHANGED
|
@@ -228,7 +228,6 @@ export type TFuncReturn<
|
|
|
228
228
|
export interface TFunction<N extends Namespace = DefaultNamespace, TKPrefix = undefined> {
|
|
229
229
|
<
|
|
230
230
|
TKeys extends TFuncKey<N, TKPrefix> | TemplateStringsArray extends infer A ? A : never,
|
|
231
|
-
// tslint:disable-next-line:no-null-undefined-union
|
|
232
231
|
TDefaultResult extends TFunctionResult | React.ReactNode = string,
|
|
233
232
|
TInterpolationMap extends object = StringMap
|
|
234
233
|
>(
|
|
@@ -237,7 +236,6 @@ export interface TFunction<N extends Namespace = DefaultNamespace, TKPrefix = un
|
|
|
237
236
|
): TFuncReturn<N, TKeys, TDefaultResult, TKPrefix>;
|
|
238
237
|
<
|
|
239
238
|
TKeys extends TFuncKey<N, TKPrefix> | TemplateStringsArray extends infer A ? A : never,
|
|
240
|
-
// tslint:disable-next-line:no-null-undefined-union
|
|
241
239
|
TDefaultResult extends TFunctionResult | React.ReactNode = string,
|
|
242
240
|
TInterpolationMap extends object = StringMap
|
|
243
241
|
>(
|
|
@@ -253,7 +251,7 @@ export type TransProps<
|
|
|
253
251
|
TKPrefix = undefined,
|
|
254
252
|
E = React.HTMLProps<HTMLDivElement>
|
|
255
253
|
> = E & {
|
|
256
|
-
children?: React.ReactNode
|
|
254
|
+
children?: React.ReactNode | Record<string, unknown>;
|
|
257
255
|
components?: readonly React.ReactNode[] | { readonly [tagName: string]: React.ReactNode };
|
|
258
256
|
count?: number;
|
|
259
257
|
context?: string;
|