Showing a lot of error message for a ECMAScript 6 script

I configured my JavaScript (angular 2) project to ECMAScript 6. But still got a lot of error messages although my project is still running.

Do I miss anything in my settings? Thanks.

1 comment
Comment actions Permalink

Errors are caused by parameter visibility in constructor definition. Is it a valid ES6 syntax? Babel 6 with es2015,react,stage-0 presets doesn't accept it.


Please sign in to leave a comment.