-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
🐛 [Bug]: Icon 结合 ts 编译Bug #723
Comments
ts 提示 |
类型“{}”缺少类型“Pick<Omit<IconBaseProps, "name">, "string" | "filter" | "fill" | "values" | "id" | "children" | "className" | "onClick" | "spin" | "rotate" | "style" | "color" | ... 457 more ... | "onPointerLeaveCapture">”中的以下属性: onPointerEnterCapture, onPointerLeaveCapture icon ts 警告 |
解决方案 : |
官网也修复下类型吧 |
@szl-shalom 方便提pr吗 |
#721 已处理 但是打包失败 |
看下下面我回复呢 |
使用react和 react-dom 是 18.2 能暂时解决这个问题。 |
Which React Vant packages are impacted?
react-vant
(React Vant core)react-vant-icons
(React Vant Icon)What version of React Vant are you using?
3.35
Reproduce live demo(codesandebox or stackblitz)?
No response
Descripition
使用的React-vant 版本是 3.3.5 node 版本 18.20 React 版本 18.3.1
The text was updated successfully, but these errors were encountered: