Decorators in angular2 show error Invalid number of arguments Shramee Srivastav Created March 10, 2017 07:43 Getting Invalid number of arguments - Expected 0 error in angular 2 Component decorators in PHPStorm ( WebStorm ) How can I get rid of that?
can't recreate:
please Ctrl+click on `@Component` - what definition does it take you to?
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...
what WebStorm and angular versions do you use?
I'm using phpStorm 2016.1 and latest Angular 2.4.x
2016.1 doesn't work well with recent Angular versions. Please update to 2016.3.x