Angular 2: Built on TypeScript

Original author: Jonathan Turner
  • Transfer
We are pleased to present the result of a long-month partnership with the Angular team.

This partnership was very productive and gave us useful experience, and as part of this collaboration, we are pleased to announce that Angular 2 will be built on TypeScript from now on. We look forward to seeing what people will be able to do with these new tools and continue to work with the Angular team to improve the use of the product by the Angular developers.

The first fruits of this collaboration will be the release of TypeScript 1.5.

We worked with the Angular team to develop a set of new functionality that will help you develop cleaner code when working with dynamic libraries like Angular 2, including a new way to annotate class declarations using metadata. Libraries and application developers will be able to use these metadata annotations to cleanly separate code and code information, such as configuration information or conditional compilation checks.

We also added the ability to retrieve type information at runtime. In activation mode, this will allow developers to implement simple type introspection. To verify the correctness of the code with additional checks at runtime. It will also allow libraries such as Angular to use type information to set dependency injection based on the types themselves.

TodoMVC for Angular 2 on TypeScript

In ng-conf, we look at this work by showing TodoMVC's example based on David East's TodoMVC . You can try this example yourself. If you are new to TypeScript, you can also learn TypeScript through our interactive platform .

We would like to hear your opinion.

TypeScript autocomplete in Sublime 3 for Angular 2

We look forward to the beta release of TypeScript 1.5 in the coming weeks, and with this the growth of TypeScript support by development tools to include large development styles and environments. We would also like to express our deep gratitude to Brad, Igor, Miško from the Angular team for their partnership. Special thanks to Yehuda Katsu, who helped us in the development of annotations and the suggestion of a decorator who helped us realize this task.

Also popular now: