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
相關文章
相關標籤/搜索