react-i18next 11.18.0 → 11.18.1
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/README.md +3 -0
- package/package.json +1 -1
- package/ts4.1/index.d.ts +4 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -168,6 +168,9 @@ This project follows the [all-contributors](https://github.com/kentcdodds/all-co
|
|
|
168
168
|
<a href="https://locize.com/" target="_blank">
|
|
169
169
|
<img src="https://raw.githubusercontent.com/i18next/i18next/master/assets/locize_sponsor_240.gif" width="240px">
|
|
170
170
|
</a>
|
|
171
|
+
<a href="https://localistars.com/" target="_blank">
|
|
172
|
+
<img src="https://raw.githubusercontent.com/i18next/i18next/master/assets/localistars_sponsor_240.gif" width="240px">
|
|
173
|
+
</a>
|
|
171
174
|
</p>
|
|
172
175
|
|
|
173
176
|
---
|
package/package.json
CHANGED
package/ts4.1/index.d.ts
CHANGED
|
@@ -102,9 +102,12 @@ declare module 'i18next' {
|
|
|
102
102
|
type ObjectOrNever = TypeOptions['allowObjectInHTMLChildren'] extends true
|
|
103
103
|
? Record<string, unknown>
|
|
104
104
|
: never;
|
|
105
|
+
|
|
106
|
+
type ReactI18NextChild = React.ReactNode | ObjectOrNever;
|
|
107
|
+
|
|
105
108
|
declare module 'react' {
|
|
106
109
|
interface HTMLAttributes<T> {
|
|
107
|
-
children?:
|
|
110
|
+
children?: ReactI18NextChild | Iterable<ReactI18NextChild>;
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
|