Microsoft has officially released TypeScript 2.0, an update to its variation of the JavaScript programming language. The team behind the language explained, “TypeScript is JavaScript that scales. Starting from the same syntax and semantics that millions of JavaScript developers know today, TypeScript allows developers to use existing JavaScript code, incorporate popular JavaScript libraries, and call TypeScript code from JavaScript. TypeScript’s optional static types enable JavaScript developers to use highly-productive development tools and practices like static checking and code refactoring when developing JavaScript applications.”
Key features in the new release include alignment with ECMAScript, better support for JavaScript libraries and tools, tagged unions, glob support in tsconfig, non-nullable types, and control flow analyzed types. TypeScript 2.0 is available through Visual Studio 2015 or Visual Studio Code.