mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 13:37:35 +00:00
Type "finish" is the only supported event type. (#15427)
Number was a typo.
This commit is contained in:
parent
51195f9439
commit
e5cec53dd2
4
types/web-animations-js/index.d.ts
vendored
4
types/web-animations-js/index.d.ts
vendored
@ -69,8 +69,8 @@ declare class Animation {
|
||||
pause(): void;
|
||||
play(): void;
|
||||
reverse(): void;
|
||||
addEventListener(type: number, handler: AnimationEventListener): void;
|
||||
removeEventListener(type: number, handler: AnimationEventListener): void;
|
||||
addEventListener(type: "finish", handler: AnimationEventListener): void;
|
||||
removeEventListener(type: "finish", handler: AnimationEventListener): void;
|
||||
effect: KeyframeEffect;
|
||||
readonly finished: Promise<Animation>;
|
||||
readonly ready: Promise<Animation>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user