react-i18next 11.16.8 → 11.16.9

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.16.9
2
+
3
+ - types: fix missing generic type for HTMLAttributes [1499](https://github.com/i18next/react-i18next/pull/1499)
4
+
1
5
  ### 11.16.8
2
6
 
3
7
  - types: fix Trans component to support react 18 types, by introducing allowObjectInHTMLChildren TS option [1492](https://github.com/i18next/react-i18next/pull/1492)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-i18next",
3
- "version": "11.16.8",
3
+ "version": "11.16.9",
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",
package/ts4.1/index.d.ts CHANGED
@@ -103,7 +103,7 @@ type ObjectOrNever = TypeOptions['allowObjectInHTMLChildren'] extends true
103
103
  ? Record<string, unknown>
104
104
  : never;
105
105
  declare module 'react' {
106
- interface HTMLAttributes {
106
+ interface HTMLAttributes<T> {
107
107
  children?: ReactNode | ObjectOrNever;
108
108
  }
109
109
  }