News

TypeScript 1.5 Inches Nearer to ECMAScript 6

TypeScript 1.5, which has been in the hands of beta testers since the end of April, packs bug fixes and a few more features to get it ready to align with the upcoming ECMAScript 6.

A beta version of the TypeScript scripting language was released at the end of April that's said to have features that more closely align it with the standards being developed under the ECMAscript 6 scripting language.

Version 1.5 contains a number of "bug fixes, support for a new metadata API that works with decorators, and updates to bring lib.d.ts up-to-date," said Jonathan Turner, Microsoft program manager for the TypeScript team, in a separate blog post.

It was back in October last year that Turner blogged extensively on the roadmap for TypeScript 2.0, wherein the team would focus on two goals: "The first is to align with ES6." The second is "working with the Flow and Angular teams to make sure that TypeScript is the best language for working with a broader range of libraries, including declarative frameworks like the upcoming Angular 2.0 release." 

Besides bug fixes, what's new and of signficance in 1.5 is a "metadata API for working with decorators" that allows for "adding and reading metadata on declarations." In a comment to one developer, Turner clarified that the metadata API "is one that we are working on for possible standardization in ES7."

The lib.d.ts binary was updated, as well; updates can be seen on GitHub.

TypeScript 1.5 is in Visual Studio 2015 RC, as well as other sources.

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube