Microsoft Rolls out TypeScript 2.0 Beta

Microsoft has just released their first beta of TypeScript 2.0 which is their open source superset of JavaScript.

Richard Hay, Senior Content Producer

July 12, 2016

2 Min Read
Microsoft Rolls out TypeScript 2.0 Beta

Yesterday, Microsoft released the first public build of their TypeScript 2.0 Beta for developers to start using and providing feedback.

TypeScript is Microsoft's open source superset of JavaScript that gives developers a familiar environment to work in but when the code is compiled it creates code that will run in any browser, Node.js or JavaScript engines that support ECMAScript 3 or higher.

There are two ways to get the 2.0 beta of TypeScript either through the Node.js command line so it is installed as a package or you can grab the TypeScript 2.0 beta for Visual Studio 2015 just make sure you are already on VS 2015 Update 3 as well.

Some of the features in this new TypeScript Beta include:

  • Non-nullable types

  • Control Flow Analysis for Types

  • Easier Module Declarations

You can see the entire summary of what's new in TypeScript 2.0 at the TypeScript Wiki.

According to the TypeScript team, one feature that has been left out of TypeScript 2.0 is async functions support for ES3 and ES5.

"Originally, this was slated for the 2.0 release; however, to reasonably implement async/await, we needed to rewrite TypeScript’s emitter as a series of tree transformations. Doing so, while keeping TypeScript fast, has required a lot of work and attention to detail. While we feel confident in today’s implementation, confidence is no match for thorough testing, and more time is needed for async/await to stabilize. You can expect it in TypeScript 2.1, and if you’d like to track the progress, the pull request is currently open on GitHub."

Microsoft indicates that a stable release candidate for TypeScript 2.0 will be coming out followed by the final version shortly after that but there is no timeframe indicated when those steps are expected.

But, wait...there's probably more so be sure to follow me on Twitter and Google+.

----------

Looking for an awesome, no-nonsense technical conference for IT Pros, Devs, and Devops? Check out IT/Dev Connections!

IT/Dev Connections

About the Author

Richard Hay

Senior Content Producer, IT Pro Today (Informa Tech)

I served for 29 plus years in the U.S. Navy and retired as a Master Chief Petty Officer in November 2011. My work background in the Navy was telecommunications related so my hobby of computers fit well with what I did for the Navy. I consider myself a tech geek and enjoy most things in that arena.

My first website – AnotherWin95.com – came online in 1995. Back then I used GeoCities Web Hosting for it and WindowsObserver.com is the result of the work I have done on that site since 1995.

In January 2010 my community contributions were recognized by Microsoft when I received my first Most Valuable Professional (MVP) Award for the Windows Operating System. Since then I have been renewed as a Microsoft MVP each subsequent year since that initial award. I am also a member of the inaugural group of Windows Insider MVPs which began in 2016.

I previously hosted the Observed Tech PODCAST for 10 years and 317 episodes and now host a new podcast called Faith, Tech, and Space. 

I began contributing to Penton Technology websites in January 2015 and in April 2017 I was hired as the Senior Content Producer for Penton Technology which is now Informa Tech. In that role, I contribute to ITPro Today and cover operating systems, enterprise technology, and productivity.

https://twitter.com/winobs

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like