For the past few days, I have noticed that Intellisense in Visual Studio Code has stopped underlining incorrect file paths in my code.
When I hover over the error line, it simply displays "module '*'."
https://i.sstatic.net/OVSQY.jpg
How can I reactivate this feature?
Providing more information: below is my tsconfig:
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"types": ["node"],
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2016",
"dom"
]
}
}
User settings in VSCode:
{
"files.exclude": {
"**/*.js": {"when" : "$(basename).ts"},
"**/*.js.map": true
}
}