You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting build error on my project where I want to introduce react-i18next. Project builds fine until I importreact-i18next and start using it. Build error is as follows
error TS2322: Type '{ children: Element; asChild: true; }' is not assignable to type 'IntrinsicAttributes & DropdownMenuTriggerProps & RefAttributes'.
Property 'children' does not exist on type 'IntrinsicAttributes & DropdownMenuTriggerProps & RefAttributes'.
We suspect it's because react-i18next overrides IntrinsicAttributes here.
Hi, i have the same problem right now. even if i'm only import something from react-i18next. immediately i'm getting this error in multiple places in my code.
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.
🐛 Bug Report
I am getting build error on my project where I want to introduce react-i18next. Project builds fine until I importreact-i18next and start using it. Build error is as follows
We suspect it's because react-i18next overrides IntrinsicAttributes here.
react-i18next/index.d.ts
Line 54 in 26ab5a3
Your Environment
Node.js v22.5.1
"react-i18next": "^15.4.0"
"typescript": "^5.6.2"
The text was updated successfully, but these errors were encountered: