🐞 Bug report
Description
.stop and .prevent syntax is not correctly handled by angular language service. This leads to errors being displayed by IDE when such syntax is used:

Compare it to the standard click event:

Expected behavior
No error is displayed, type of $event is displayed on hover, description of event is displayed on hover.
Versions
- OS: MacOS
- Angular 11
- JetBrains IDE (WebStorm/Rider/RubyMine etc) (not sure if the issue persists in VSCode, but i would think so)
Additional context
I'm not sure that this can be fixed on the plugin side, but still creating an issue, as this is very annoying to have these errors all around the IDE.
Added by @waterplea:
Also exact type of the $event variable is lost when using .stop and .prevent. This leads to compilation errors like this:
Argument of type 'Event' is not assignable to parameter of type 'MouseEvent'.
🐞 Bug report
Description
.stop and .prevent syntax is not correctly handled by angular language service. This leads to errors being displayed by IDE when such syntax is used:


Compare it to the standard click event:
Expected behavior
No error is displayed, type of $event is displayed on hover, description of event is displayed on hover.
Versions
Additional context
I'm not sure that this can be fixed on the plugin side, but still creating an issue, as this is very annoying to have these errors all around the IDE.
Added by @waterplea:
Also exact type of the
$eventvariable is lost when using.stopand.prevent. This leads to compilation errors like this: