Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What version of TypeScript do Visual Studio 2013 (Update 3) use?

What version am I using?

I am using Visual Studio 2013 and I have Update 3 installed.

There's a question here that speak of how-to chose TypeScript version, alas I haven't find this "TypeScriptToolsVersion"-entry they speak of anywhere in my files. I have googled for information about which version of TypeScript that Visual Studio use on both internet and the menus of my Visual Studio application but without any results. I must be missing something.

Reason I ask is because in this directory on my computer:

C:\Program Files (x86)\Microsoft SDKs\TypeScript

..I see TypeScript 0.9 and 1.0 installed. Given that TypeScript was at some point littered with bugs according to my own noble notes from an old TypeScript project, I would like to know which version I am using and if need be, upgrade to the latest.

Latest version

How do I find out what version of TypeScript is the latest? The TypeScript website store the specification file which is as of today versioned 1.0 (2014-10-11).

The website does not list TypeScript compilers that I can download or versions thereof. Instead, the site point me to Visual Studio updates. The "release notes" I could find from Visual Studio Update 3 speak not a word about TypeScript versions.

Going back to the TypeScript website, it has a link "the source" which goes to a TypeScript compiler stored on github. In one of the files, I can read that the version of the compiler is 1.3.0 (2014-10-11).

Given that this compiler is linked from the TypeScript website, I guess that it is some form of a "reference implementation" and I can bet my two balls that this is the one Visual Studio is using. Apparently though, the compiler's version 1.3.0 doesn't have anything to do with the version of the language TypeScript which I believe is "only" 1.0.

I've been googling on how-to upgrade the TypeScript version of Visual Studio and that seem to be a smallish nightmare. But my primary goal is to just find out what version of TypeScript I am using. Secondary goal is to understand the versioning scheme a bit better, is the latest version of TypeScript 1.0 or 1.3? Last shall I begin the endeavour of actually upgrading Visual Studio if need be =)

Thank you!

like image 430
Martin Andersson Avatar asked Oct 11 '14 10:10

Martin Andersson


People also ask

What version of TypeScript is Visual Studio using?

To see the last version: Go to: C:\Program Files (x86)\Microsoft SDKs\TypeScript, there you see directories of type 0.9, 1.0 1.1. Enter the high number that you have (in this case 1.1) Copy the directory and run in CMD the command tsc -v, you get the version.

Where would you find the TypeScript package download for Visual Studio 2012 and 2013?

Download TypeScript for Visual Studio 2013 from Official Microsoft Download Center.

How do I check TypeScript version?

Test that the TypeScript is installed correctly by typing tsc -v into your terminal or command prompt. You should see the TypeScript version print out to the screen.

How do I update typescript to the latest version?

The version you see here is the one that got installed with Visual Studio (not visual studio code). So I went to Visual Studio and updated the TypeScript library to the latest version via Options > Extensions and Updates. There I searched for the latest version of TypeScript and installed it.

Where to download typescript for Visual Studio 2013?

Download TypeScript for Visual Studio 2013 from Official Microsoft Download Center TypeScript is a language for application-scale JavaScript development. It is included in Visual Studio 2013 Update 2 or later. TypeScript is a language for application-scale JavaScript development. It is included in Visual Studio 2013 Update 2 or later.

What is the latest version of Visual Studio 2013?

Microsoft released Visual Studio 2013 Update 3 on August 4, 2014. Visual Studio 2013 Update 3 includes the latest software updates, feature additions, and bug fixes. More information about Visual Studio product updates is also available on the Visual Studio website. Visual Studio 2013 updates are cumulative releases.

How do I automatically use the typescript version installed in my workspace?

To automatically use the Typescript version installed in your workspace's node_modules, without having to configure it every time you set up a new workspace, you can set the default Typescript setting in the User Settings JSON ( not Workspace) to use a relative path: Now, when you run the "Select Typescript Version..."


2 Answers

But my primary goal is to just find out what version of TypeScript I am using.

Like Hans Passant said tsc -v and where tsc will guide you to the right path. VS 2013 is 1.0.3

I guess that it is some form of a "reference implementation" and I can bet my two balls that this is the one Visual Studio is using

If you are looking for the source : https://github.com/microsoft/typescript/tree/release-1.0.3

Secondary goal is to understand the versioning scheme a bit better, is the latest version of TypeScript 1.0 or 1.3?

master is dev branch, completely unstable and not release. (you can use it with tools like grunt-ts https://github.com/TypeStrong/grunt-ts#custom-compiler). So don't worry about the version number there.

Latest release is actually 1.1 CTP (announcement : http://blogs.msdn.com/b/typescript/archive/2014/10/06/announcing-typescript-1-1-ctp.aspx source : https://github.com/microsoft/typescript/tree/release-1.1) but as it is CTP you need to fiddle with your VS settings.

The stable is 1.0.3.

Tip for authoritative answer

Just look at the official blog posts : http://blogs.msdn.com/b/typescript/

like image 50
basarat Avatar answered Oct 19 '22 20:10

basarat


Same problem here, but you can find recent version of TypeScript (1.4) for VS2013 here:

https://visualstudiogallery.msdn.microsoft.com/2d42d8dc-e085-45eb-a30b-3f7d50d55304

like image 23
Kiarash G. Avatar answered Oct 19 '22 20:10

Kiarash G.