Open zxshinxz opened 8 years ago
I'm not sure your issue is with the spread operator specifically. I use it a fair bit without problem. It is possible that using it is causing some helper to be compiled in which is triggering an error because of the isolated way in which brunch-typescript compiles.
Check out https://github.com/baptistedonaux/brunch-typescript#errors and try disabling the errors, it is possible that it will produce the correct output, and the error is a side effect of how it is being compiled.
Hi there,
Thank you very much for angular2 brunch seed project.
Just reporting a problem where, whenever I use es6 spread syntax, It fails to compile.
e.g.
If I change
to
works fine.
would there be specific typescript config for this issue.
Thank you Andy