TypeScript 1.6 for Visual Studio Is Available Now

The next version of Microsoft’s scripting language TypeScript v1.6 for Visual Studio is now available to download. Microsoft’s Soma just announced the news via a blog post. TypeScript 1.6 for Visual Studio can be installed for both Visual Studio 2015 and Visual Studio 2013 versions.

TypeScript originally developed and maintained by Microsoft is a typed superset of JavaScript that let you write object-oriented code that compiles to plain JavaScript. TypeScript is open source and supports all browsers and operating systems.

Here is a list of some key updates in this release.

React/JSX support

One of the key philosophies of TypeScript is to let you write TypeScript anywhere you can develop using JavaScript. While we’ve worked with teams such as Dojo, Aurelia, and Angular to ensure using TypeScript is as easy as using JavaScript, there was still an important library that that presented a difficulty for TypeScript developers: React. This was due to the lack of support for JSX, a popular way of writing DOM and native components in JS. React heavily leverages JSX in everyday code. Unfortunately, the syntax for JSX conflicted with the cast syntax that TypeScript already used.

Catching more errors

Starting with 1.6, we’re tightening up some of our object checking rules. In the beta, you’ll see that objects need to match more closely when they are assigned.

Improved module resolution

Previously, TypeScript used a hybrid approach for resolving both CommonJS and RequireJS. Unfortunately, this meant that module resolution didn’t feel at home in either style, and instead made you structure projects in a way that didn’t feel natural for that particular module loader.

You can download and run the installer by clicking the hyperlink below.

TypeScript 1.6 for Visual Studio

Learn TypeScript

C# Corner hosts hundreds of articles on TypeScript. Check them out: Learn TypeScript on C# Corner

TypeScript website: http://www.typescriptlang.org/