Type annotations are not supported in arrow functions.
I just tried it in TypeScript, and your code does not work there
either. In TS you need to use parens if you want type annotaions in
the arrow formals.
It is also not clear how this can be speced? Lets bring it up on the
TS github repo.
> --
> You received this message because you are subscribed to the Google Groups
> "traceur-compiler-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
traceur-compiler-d...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
erik