TypeScript 1.8 for Visual Studio 2017

I have a project created in Visual Studio 2015 that uses TypeScript 1.8. After installing Visual Studio 2017, I tried to open the old project in a new IDE. If I check the properties of the project, I get this:

TypeScript version: 1.8 (unavailable).

enter image description here

However, I see that this version is already under C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8.

I do not want to use a newer version, because I do not want to change the code right now.

Does Visual Studio 2017 support TypeScript 1.8?

How can I make this version available for VS 2017?

+13
source share
2 answers

, Nuget Microsoft.TypeScript.MsBuild. 1.8.11.

TypesScript - "", intellisense. , .

, . Microsoft Visual Studio (, 2.7 https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.typescript-27-vs2017)

: intellisense. > 2.6. @@ts-ignore,

: , intellisense.

  • nuget Microsoft.TypeScript.Compiler 1.8
  • Nuget TSLint
  • nuget TSLint.MSBuild
  • TypeScript Analyzer ( TSLint)
+9

.

0

Source: https://habr.com/ru/post/1686901/


All Articles