I would like to add support for ES6 arrow function.
As far as I know, the modification is not big since ArrowFunctionExpression and FunctionExpression structures are quite similar. The only difference I think of is the case of a body without curly brace like in x => x instead of x => { return x; }.
I would like to add support for ES6 arrow function.
As far as I know, the modification is not big since
ArrowFunctionExpression
andFunctionExpression
structures are quite similar. The only difference I think of is the case of a body without curly brace like inx => x
instead ofx => { return x; }
.My little contributtion towards ES6 support https://github.com/olov/ng-annotate/issues/237