TS error "umi" has no exported member 'xxx'
Problem Description
There is an error in the ts file in the umi project: "umi" has no exported member 'xxx'
The main problem is the recognition of umi by ts;
check the configuration of the tsconfig.json file
{
"compilerOptions": {
"paths": {
"@/*": ["src/*"],
"@@/*": ["./src/.umi/*"] // 解决 umi 找不到部分模块的问题
},
},
}