Decorators in angular2 show error Invalid number of arguments

Getting Invalid number of arguments - Expected 0 error in angular 2 Component decorators in PHPStorm ( WebStorm )

How can I get rid of that?

0
5 comments

can't recreate:

please Ctrl+click on `@Component` - what definition does it take you to?

0

Thanks for replying Elena :)

Cmd + Click takes me here,

I am using angular cli for scaffolding...

It shows tons of errors and I find it a bit disturbing to have tons of red underlines on files and component decorators...

0

what WebStorm and angular versions do you use?

0

I'm using phpStorm 2016.1 and latest Angular 2.4.x

0

2016.1 doesn't work well with recent Angular versions. Please update to 2016.3.x

0

Please sign in to leave a comment.