-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript declaration does not include new allowObjectInHTMLChildren
option
#1506
Comments
@pedrodurek should we wait for #1501 ? |
Hey @cravend, sorry for the delayed response, actually you should set |
Setting
Breaks with |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Having the same issue as @Igosuki with the new option |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not really stale... |
🐛 Bug Report
Following PR #1492 and issue #1483, a new option (
allowObjectInHTMLChildren
) was added to fix the<Trans />
component. However, this seems to have been left out of the index.d.ts file, and is still raising errors inside the Trans component.To Reproduce
https://github.com/cravend/react-i18next-debug
Expected behavior
The option works as expected.
Your Environment
The text was updated successfully, but these errors were encountered: