Closed keiseiTi closed 3 months ago
@vagusX Will there be an update to version 4.x? Because @types/react also relased version 17.0.78, @ant-desgin/icon@4.x will also report this error.
@vagusX Will there be an update to version 4.x? Because @types/react also relased version 17.0.78, @ant-desgin/icon@4.x will also report this error.
You can temporarily fix it by pinning the version of @types/react
to 17.0.76 or 18.2.65 using resolutions field in package.json.
I have suggested that they (maintainer of @types/react
) roll back and release a fixed version. https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/69006
Update: New version package of @types/react is published. https://github.com/DefinitelyTyped/DefinitelyTyped/pull/69005 Update @types/react will resolve this issue.
看到主干分支已经修复了,但 @ant-design/icons@4.8.1 存在这个问题