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

antd 3 以前的版本需要在 tsconfig.json 的 compilerOptions 中配置 "allowSyntheticDefaultImports": true

 

posted @ 2019-01-04 17:20  明明一颗大白菜  阅读(3288)  评论(0编辑  收藏  举报
<-- -->