Matt
Matt

Reputation: 1544

Target Specific TypeScript Version on VSTS

Just committed some code today to Visual Studio Team Services and the build is now compiling using TypeScript 2.4. There are a bunch of errors that I do intend to fix, but is there any way of targeting 2.2 on Visual Studio Team Services until I fix the issues?

Upvotes: 0

Views: 1014

Answers (1)

Matt
Matt

Reputation: 1544

It seems the answer to this is as simple as to add to the project a reference via NuGet for Microsoft.TypeScript.MSBuild changing the version to the one that you wish to use.

Upvotes: 2

Related Questions