Visual Studio 2017 generates TypeScript errors for a project that does not use TypeScript -


any ideas why vs2017 run typescript compiler (tsc.exe) on project not use typescript helpful?

i have solution contains 3 asp.net web applications. 1 of 3 uses typescript while other 2 projects contain no files .ts extension, no tsconfig files, , no typesctript msbuild tags. however, 1 of 2 projects not use ts generates following typescript compiler errors when project built, , when solution first opened. removed project name listed errors below, assure these errors attributed 1 of projects not use typescript.

this issue not exist when open (or build) same solution in visual studio 2015.

error ts2451 cannot redeclare block-scoped variable 'json'. (x86)\microsoft visual studio\2017\enterprise\common7\ide\commonextensions\microsoft\typescript\lib.es6.d.ts 991 active error ts2451 cannot redeclare block-scoped variable 'json'. c:\program files (x86)\microsoft visual studio\2017\enterprise\common7\ide\commonextensions\microsoft\typescript\lib.es6.d.ts 991 active error ts2451 cannot redeclare block-scoped variable 'json'. c:\program files (x86)\microsoft visual studio\2017\enterprise\common7\ide\commonextensions\microsoft\typescript\lib.es6.d.ts 1018 active error ts2451 cannot redeclare block-scoped variable 'json'. c:\program files (x86)\microsoft visual studio\2017\enterprise\common7\ide\commonextensions\microsoft\typescript\lib.es6.d.ts 1018 active error ts2451 cannot redeclare block-scoped variable 'json'. c:\program files (x86)\microsoft visual studio\2017\enterprise\common7\ide\commonextensions\microsoft\typescript\lib.es6.d.ts 5714 active error ts2451 cannot redeclare block-scoped variable 'json'. c:\program files (x86)\microsoft visual studio\2017\enterprise\common7\ide\commonextensions\microsoft\typescript\lib.es6.d.ts 5714 active error ts2403 subsequent variable declarations must have same type. variable 'require' must of type 'any', here has type 'noderequire'. c:\users\gregb\appdata\local\microsoft\typescript\node_modules\@types\node\index.d.ts 73 active error ts2403 subsequent variable declarations must have same type. variable 'require' must of type 'any', here has type 'noderequire'. c:\users\gregb\appdata\local\microsoft\typescript\node_modules\@types\node\index.d.ts 73 active error ts2403 subsequent variable declarations must have same type. variable 'swfobject' must of type '{ registerobject: (ab: any, x: any, aa: any, z: any) => void; getobjectbyid: (x: any) => element;...', here has type 'swfobject'. c:\users\gregb\appdata\local\microsoft\typescript\node_modules\@types\swfobject\index.d.ts 6 active error ts2403 subsequent variable declarations must have same type. variable 'swfobject' must of type '{ registerobject: (ab: any, x: any, aa: any, z: any) => void; getobjectbyid: (x: any) => element;...', here has type 'swfobject'. c:\users\gregb\appdata\local\microsoft\typescript\node_modules\@types\swfobject\index.d.ts 6 active


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -