-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add types definition for resize event on video element. #63061
Comments
@pennywisexy please provide full information. What the library, what the interface/type? |
library - @types/react, interface DOMAttributes. |
https://developer.mozilla.org/en-US/docs/Web/API/Window/resize_event
@pennywisexy so you should subscribe to window resize |
I was talking about resize event for the video element (extend HTMLMediaElement). It a small difference of these events. And the resize event for the video is not described in @types/react. It must be added. |
You are right, it should have
|
Great! |
@Semigradsky Hi there, I'm seeing TS errors in my project that sound like they might be introduced after #63076. In this case it's a SVG component with props of type |
@mariuslundgard Could you provide reproducible example? |
No description provided.
The text was updated successfully, but these errors were encountered: