ts+antd报错error TS2605: JSX element type Xxx is not a constructor function for JSX elements

antd 3 之前的版本须要在 tsconfig.json 的 compilerOptions 中配置 "allowSyntheticDefaultImports": truehtml   转载于:https://www.cnblogs.com/mmykdbc/p/10221107.htmljson
相关文章
相关标签/搜索