У меня есть угловой проект, проект запускается с VS 2017 года ... но показывает слишком много ошибок (ошибка tslint) для файла машинописного текста, расположенного в C: \ Program Files (x86) \ Microsoft SDKs \ TypeScript \ 3.2 \ lib.dom. d.ts
после запуска проекта Visual Studio показывает ошибки, но веб-сайт работает
, как я могу отключить эти ошибки?
Файл tsconfig.js:
"compileOnSave": false,
"compilerOptions": {
"importHelpers": true,
"module": "esnext",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2015",
"skipLibCheck": true,
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"plugins": [
{ "name": "tslint-language-service" }
]
}
}