Changelog
6.9.2 (2016-09-09)
The only change is to remove the babel-runtime
dependency by compiling with Babel's ES2015 loose mode. So using babylon standalone should be smaller.
Changelog
6.9.1 (2016-08-23)
This release contains mainly small bugfixes but also updates babylons default mode to es2017. The features for exponentiationOperator
, asyncFunctions
and trailingFunctionCommas
which previously needed to be activated via plugin are now enabled by default and the plugins are now no-ops.
Changelog
6.9.0 (2016-08-16)
(Be aware that React is not going to support this syntax)
<div>
{...todos.map(todo => <Todo key={todo.id} todo={todo}/>)}
</div>
declare module "foo" {
declare module.exports: {}
}
Changelog
6.8.2 (2016-06-24)
function* it() { yield <a></a>; }
(#31) @eldereal(...props): void => {}
(#10) @danez(arg?) => {}
(#19) @danezget
or set
class foo { get() {} }
(#55) @vkurchatkin<T>(x: T): T => x;
(#54) @gabeleviChangelog
6.8.1 (2016-06-06)
type Foo<T = string> = T
*
is not a valid type parameter.*
is a primary typeTypeParameter
nodesTypeParameter
AST Node (replaces using the Identifier
node before)interface TypeParameter <: Node {
bound: TypeAnnotation;
default: TypeAnnotation;
name: string;
variance: "plus" | "minus";
}