TypeScript can now independently transpile module formats and language targets. This way, Rollup can bundle ES2015 modules with ES5 code.
The destructuring syntax introduced by ECMAScript 2015 doesn't have to be used to declare new local variables. Plain assignments are supported, too.
This post gives you some suggestions as to how to get started using the new ECMAScript 2015 features in your projects.
const keyword declares a constant variable. However, its value can still change since it's not immutable. A clarification.
ECMAScript 2015 allows a function to immediately destructure an object parameter. Here's the TypeScript syntax for typing the destructured properties.
Here's how to use Babel to transpile npm packages written in ECMAScript 2015.
TypeScript 1.5 has been released and ships with excellent ECMAScript 2015 support. Check out this new version and start using ECMAScript 2015 language features today.
Destructuring assignments work perfectly together with regular expression matches as returned by the
exec function. Pattern matching helps assign matches and captures to local variables.
Here's how to return an object literal from an expression-bodied arrow function as introduced by ECMAScript 2015.
The popular Lodash library will be even more natural to use with ECMAScript 2015. New language features like pattern matching, array destructuring, and arrow functions allow for writing terse yet readable code.