Skip to content

animationend and animationstart not in lib.dom.d.ts ? #20494

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

Closed
ceymard opened this issue Dec 6, 2017 · 3 comments
Closed

animationend and animationstart not in lib.dom.d.ts ? #20494

ceymard opened this issue Dec 6, 2017 · 3 comments
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this
Milestone

Comments

@ceymard
Copy link

ceymard commented Dec 6, 2017

TypeScript Version: 2.6.2

It would seem that the HTMLElementEventMap does not have animationstart nor animationend yet there is an AnimationEvent type. Is this intentional ? The technology is starting to be pretty supported across browsers.

@mhegazy mhegazy added Bug A bug in TypeScript Help Wanted You can do this Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels Jan 11, 2018
@mhegazy mhegazy added this to the Community milestone Jan 11, 2018
@mhegazy
Copy link
Contributor

mhegazy commented Jan 11, 2018

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
@charlag
Copy link

charlag commented Apr 29, 2022

I believe this is fixed now

interface HTMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {

HTMLElementEventMap extends GlobalEventHandlersEventMap which does indeed have animationstart/animationend

@jakebailey
Copy link
Member

Just looking at old issues; yes, this is fixed as of #25944.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

5 participants