Open TonyaQi opened 4 years ago
Please provide a online reproduction by CodeSandbox or github repo
Please provide a online reproduction by CodeSandbox or github repo
https://codesandbox.io/embed/empty-resonance-pt1vm?fontsize=14&hidenavigation=1&theme=dark
在codesandbox可以运行 看起来像是tsconfig配置问题?
看起来像是 include
的问题
在d.ts 增加 declare module '@ant-design/compatible'; 解决了这个问题
i'm struggling on the same problem. Is there a workaround for this?
react 16.13.1 @types/react 16.9.34
升级迁移 兼容V3时 Form & FormItem报错
// tsconfig { "compilerOptions": { "baseUrl": "src", "target": "es5", "lib": [ "dom", "dom.iterable", "esnext" ], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react", "experimentalDecorators": true, "noImplicitThis": false }, "include": [ "src" ], "extends": "./paths.json" }