Re:JavaScript libraries should be written in TypeScript
by ascetone on Wednesday March 16, 2016 @11:06AM
(#11297885)
My favourite thing they brought over from ES7 is async/await support via ES6 generators.
Re:JavaScript libraries should be written in TypeScript
by joshuacc on Wednesday March 16, 2016 @12:08PM
(#11298380)
FYI, those are not ES2016 features. ES2016 only includes two small feature enhancements. They might make it into 2017, but if TC39 decides they're not ready, they'll just keep not including the feature in the annual spec revision.
For example - currently in Typescript but only planned for ES7: https://github.com/jeffmo/es-class-fields-and-static-propert...
or Support ES7: exponentiation operator https://github.com/Microsoft/TypeScript/issues/4812
Typescript seems to be more like ECMAScript.next + types rather than ES6 + types.