I have installed antd to my typescript project:
"antd": "^4.6.2",
It works fine and my project builds using the antd components (webpack used to build) but inside VSCode I don't get typings and it gives me this error:
Here is my tsconfig.json
{
"compilerOptions": {
"outDir": "./dist/",
"noImplicitAny": true,
"module": "es6",
"target": "es5",
"jsx": "react",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"moduleResolution": "node",
}
}
What am I doing wrong? Antd is meant to include it's own typings so why doesn't VSCode recognise it?
