Exclude node_modules from "problems"
All you should need is a tsconfig.json
with:
{
"compilerOptions": {
"skipLibCheck": true,
}
}
I stumbled upon this issue as well.
The only solution I found was add the skipLibCheck
option and set it to true in the compilerOptions
of my tsconfig.json:
{
"compilerOptions": {
"skipLibCheck": true
}
}
According to the doc, it will skip type checking of all declaration files (*.d.ts), which were the ones throwing the warnings in my case.