We updated to Visual Studio 17.3.4 and now all of our type script files are giving us intellisense errors. We can build without any errors but when we open any of our .ts files they show lots of errors that were not present before. It seems to no longer find any of the classes and interfaces in other files. We tried added a tsconfig.json file and that seemed to help some but we get a whole different set of errors from lib.dom.d.ts
{
"compileOnSave": true,
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": true,
"sourceMap": false,
"target": "es6",
"typeRoots": [ "/Scripts" ]
},
"exclude": [
"node_modules",
"wwwroot"
]
}
Severity Code Description Project File Line Suppression State
Error TS2687 (TS) All declarations of 'name' must have identical modifiers. C:\SDBS_ROOT\SCS\Allegro\Main\FrameworkAllegro\SixDisciplines.FrameworkAllegro.UI\tsconfig.json C:\SDBS_ROOT\SCS\Allegro\Main\FrameworkAllegro\packages\Microsoft.TypeScript.MSBuild.4.5.3\tools\tsc\lib.dom.d.ts 5074 Active
Error TS2687 (TS) All declarations of 'root' must have identical modifiers. C:\SDBS_ROOT\SCS\Allegro\Main\FrameworkAllegro\SixDisciplines.FrameworkAllegro.UI\tsconfig.json C:\SDBS_ROOT\SCS\Allegro\Main\FrameworkAllegro\packages\Microsoft.TypeScript.MSBuild.4.5.3\tools\tsc\lib.dom.d.ts 5075 Active
Error TS2320 (TS) Interface 'HTMLElement' cannot simultaneously extend types 'Element' and 'HTMLOrSVGElement'.
Named property 'blur' of types 'Element' and 'HTMLOrSVGElement' are not identical. C:\SDBS_ROOT\SCS\Allegro\Main\FrameworkAllegro\SixDisciplines.FrameworkAllegro.UI\tsconfig.json C:\SDBS_ROOT\SCS\Allegro\Main\FrameworkAllegro\packages\Microsoft.TypeScript.MSBuild.4.5.3\tools\tsc\lib.dom.d.ts 6132 Active