You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you will get an error. now you need to define the type of the event in 2 places and this is of course not type safe.
the thing is, when hovering over @My-event we already have the information of the event type.
if we could have this mixed in the typescript plugin, that overrides the type detection in this special scenario with the type we already have on hover, we're good.
can someone please look into that?
The text was updated successfully, but these errors were encountered:
this is a feature i'm waiting for a very long time. assume you dispatch a CustomEvent
and then you listen to it via HTML code, or even using an addEventListener
you will get an error. now you need to define the type of the event in 2 places and this is of course not type safe.
the thing is, when hovering over @My-event we already have the information of the event type.
if we could have this mixed in the typescript plugin, that overrides the type detection in this special scenario with the type we already have on hover, we're good.
can someone please look into that?
The text was updated successfully, but these errors were encountered: