What ES6 features are implemented in Typescript?

I was looking for a list of Ecmascript 6 features that are currently implemented in typescript but couldn't find anything relevant online.

Here is a list of the features that I have come up with so far:

  • Arrow Functions.
  • Save option
  • Default Values
  • Classes (is the entire specification implemented?)
  • Modules (I think there are some differences in implementation)

Thank!

+48
ecmascript-6 typescript
Mar 07 '14 at 21:26
source share
4 answers

This table also lists TypeScript, as well as many other browsers and their current ES6 implementation level:

http://kangax.imtqy.com/compat-table/es6/

+21
Jul 08 '15 at 13:35
source share

I found this link:

https://typescript.codeplex.com/wikipage?title=ECMAScript%206%20Status&referringTitle=Roadmap

It contains the famous alignment between Typescript and ES6. It does not seem to have been updated since late April. This is probably due to the transition to Github. However, there is no equivalent table on github. On the roadmap there are:

https://github.com/Microsoft/TypeScript/wiki/Roadmap

We hope they can update it using a matrix similar to the one found on codeplex.

EDIT

I found this link:

https://github.com/Microsoft/TypeScript/milestones

While there is no feature mapping table, you can get an idea of ​​the progress towards completing their roadmap versions. In my opinion, version 2.0 is about 40%. They say they are trying to renew every 6-8 weeks.

+8
Oct 28 '14 at 19:27
source share

Some of the features of ECMAScript 6 are supported by TypeScript:

  • Classes (with support for additional type annotations)
  • Generics
  • Modules (internal modules linked to ECMAScript 6)
  • Arrow functions
  • Default options

Source:

+7
Mar 13 '14 at 17:37
source share

Kagnax table is not relevant now http://kangax.imtqy.com/compat-table/es6/

It contains information about Typescript 1.6. In January 2017, version 2.1.5 is available and has more features.

+2
Jan 21 '17 at 17:42 on
source share



All Articles