TypeScript and Angular 2.0


Presented by Jonathan Turner at 2015 ng-conf in Salt Lake City, Utah.

@jntrnr

TypeScript in a Nutshell

  • Superset of JavaScript
  • Optional type system
  • Features from the future

TypeScript + ng2.0

  • Angular 2 now built with TypeScript
  • TypeScript brings helpful error checking and tools
  • Using TypeScrip is completely optional

Today

  • Snapshot of Angular2 building in TypeScript
  • TodoMVC app in Angular 2
  • Alpha Sublime Text plugin

Enter TypeScript 1.5

Support for..

  • Desctucturing, spread, modules, for…of, …

TypeScript 1.6

  • Generators
  • Async/Await

github.com/microsoft/ngconf2015demo