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.
🐛 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: