react-i18next 12.1.4 → 12.1.5

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
+ ### 12.1.5
2
+
3
+ - fix react merged types [1606](https://github.com/i18next/react-i18next/pull/1606) originally introduced with #1531 to address #1506
4
+
1
5
  ### 12.1.4
2
6
 
3
7
  - fix crash in gatsby [1594](https://github.com/i18next/react-i18next/issues/1594)
@@ -1 +1 @@
1
- {"type":"module","version":"12.1.4"}
1
+ {"type":"module","version":"12.1.5"}
package/index.d.ts CHANGED
@@ -39,11 +39,12 @@ declare module 'i18next' {
39
39
  type ObjectOrNever = TypeOptions['allowObjectInHTMLChildren'] extends true
40
40
  ? Record<string, unknown>
41
41
  : never;
42
- type ReactI18NextChild = React.ReactNode | ObjectOrNever;
42
+
43
+ type ReactI18NextChildren = React.ReactNode | ObjectOrNever;
43
44
 
44
45
  declare module 'react' {
45
46
  interface HTMLAttributes<T> {
46
- children?: ReactI18NextChild | Iterable<ReactI18NextChild>;
47
+ children?: ReactI18NextChildren;
47
48
  }
48
49
  }
49
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-i18next",
3
- "version": "12.1.4",
3
+ "version": "12.1.5",
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",