-
Notifications
You must be signed in to change notification settings - Fork 586
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
@ant-design/[email protected] 使用图标时提示报错 #483
Comments
升级 @types/react 和 TS 版本。 |
4.3.0 可以试试 |
@types/[email protected] 升级到 @types/[email protected] 后,问题解决 |
@dizefurkan You can try downgrading to version 4.3.0 [@ant-design/[email protected]]. It works for me :) |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在使用图标时,
import { MenuUnfoldOutlined } from '@ant-design/icons';<MenuUnfoldOutlined />
报下面的错误,换成4.0.0就没有问题了,怎么解决呢?
Type '{}' is missing the following properties from type 'Pick<AntdIconProps, "name" | "className" | "style" | "cite" | "data" | "form" | "label" | "slot" | "span" | "summary" | "title" | "pattern" | "children" | "id" | "size" | ... 347 more ... | "twoToneColor">': name, className, style, cite, and 356 more. TS2740
The text was updated successfully, but these errors were encountered: