TypeScript

Typed Superset of JavaScript

Superset of

  • EcmaScript 5
  • EcmaScript 2015
  • EcmaScript 2016
  • EcmaScript 2017

Transpiles to

  • ES2016
  • ES2015
  • ES5
  • ES3

Added in ES2015

  • Constants
  • Block scoped variables and functions
  • Arrow functions with lexical this
  • Default parameter values
  • Rest and Spread operator
  • Template literals
  • Enhanced Object properties
  • Destructuring
  • Modules
  • Classes
  • Symbols
  • Iterators
  • Typed Arrays
  • Map/Set, WeakMap/WeakSet
  • Generators
  • Promises
  • Metaprogramming

To COME in Es2016

  • Exponentiation operator
  • Array.prototype.includes

in discussion for Es2017

  • Async/Await
  • Object.values and Object.entries
  • SIMD
  • String padding
  • Object rest and spread operators
  • Decorators
  • bind (::) operator
  • Observables
Made with Slides.com