Closed caocong1 closed 3 months ago
我也出现了,怎么解决的
upup
I temporarily resolved this by setting @types/react to version 18.2.65 until the issue was resolved.
Fixed in @ant-design/icons@5.3.2
Fixed in @ant-design/icons@5.3.2
@vagusX 4.x版本会有修吗
我升级icon的版本解决了这个问题,"@ant-design/icons": "^5.3.4"
这是@types/react的pull链接https://github.com/DefinitelyTyped/DefinitelyTyped/pull/68984
会导致报ts错误: error TS2739: Type '{}' is missing the following properties from type 'Pick<AntdIconProps, "title" | "name" | "color" | "size" | "start" | "children" | "style" | "type" | "rowSpan" | "cite" | "data" | "form" | "label" | "slot" | "span" | ... 348 more ... | "twoToneColor">': onPointerEnterCapture, onPointerLeaveCapture