react-i18next 11.15.5 → 11.15.6

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ### 11.15.6
2
+
3
+ - fix error for typescript 4.6 [1453](https://github.com/i18next/react-i18next/pull/1463)
4
+
1
5
  ### 11.15.5
2
6
 
3
7
  - types: fix never return type when using plurals [1453](https://github.com/i18next/react-i18next/pull/1453)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-i18next",
3
- "version": "11.15.5",
3
+ "version": "11.15.6",
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",
@@ -86,7 +86,7 @@
86
86
  "rollup-plugin-terser": "^5.1.1",
87
87
  "sinon": "^7.2.3",
88
88
  "tslint": "^5.20.1",
89
- "typescript": "^4.5.2",
89
+ "typescript": "4.6.2",
90
90
  "yargs": "^13.3.0"
91
91
  },
92
92
  "peerDependencies": {
package/ts4.1/index.d.ts CHANGED
@@ -327,7 +327,7 @@ export function withTranslation<N extends Namespace = DefaultNamespace>(
327
327
  withRef?: boolean;
328
328
  },
329
329
  ): <
330
- C extends React.ComponentType<React.ComponentProps<C> & WithTranslationProps>,
330
+ C extends React.ComponentType<React.ComponentProps<any> & WithTranslationProps>,
331
331
  ResolvedProps = JSX.LibraryManagedAttributes<
332
332
  C,
333
333
  Subtract<React.ComponentProps<C>, WithTranslationProps>