Missing event types in Angular? #1131
Replies: 3 comments 1 reply
-
We don't have types for Angular at the moment, it's something I'll look into in the coming days. No idea at the moment how to generate them. If you're aware of how to add custom element types (props/events) to Angular please let me know :) |
Beta Was this translation helpful? Give feedback.
-
Hey there, been able to read all events using |
Beta Was this translation helpful? Give feedback.
-
Ok I noticed that the error only occures on Rider and Webstorm. In VSCode, although I get no suggestions via intellisense, it shows no error and even type info. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm using vidstack in an Angular application. I noticed that I can bind all events mentioned in the docs for the
media-player
component in my template but I'm getting type errors for specific events.For example the
playing
orprogress
events can be bound like this without a problem:But for other events like
provider-change
I get the errorEvent provider-change is not emitted by any applicable directives nor by <media-player> element
.Do I have to configure or install anything in addition to the docs to get proper type support?
I'm on vidstack
v1.10.3
, Angular17.0.8
, typescript5.2.2
and using WebStorm.Beta Was this translation helpful? Give feedback.
All reactions