@@ -2543,7 +2543,7 @@ interface Animatable {
25432543interface AnimationEventMap {
25442544 "cancel": AnimationPlaybackEvent;
25452545 "finish": AnimationPlaybackEvent;
2546- "remove": Event ;
2546+ "remove": AnimationPlaybackEvent ;
25472547}
25482548
25492549/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation) */
@@ -2561,7 +2561,7 @@ interface Animation extends EventTarget {
25612561 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finish_event) */
25622562 onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;
25632563 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/remove_event) */
2564- onremove: ((this: Animation, ev: Event ) => any) | null;
2564+ onremove: ((this: Animation, ev: AnimationPlaybackEvent ) => any) | null;
25652565 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/pending) */
25662566 readonly pending: boolean;
25672567 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/playState) */
@@ -3003,7 +3003,7 @@ declare var AudioWorklet: {
30033003};
30043004
30053005interface AudioWorkletNodeEventMap {
3006- "processorerror": Event ;
3006+ "processorerror": ErrorEvent ;
30073007}
30083008
30093009/**
@@ -3013,7 +3013,7 @@ interface AudioWorkletNodeEventMap {
30133013 */
30143014interface AudioWorkletNode extends AudioNode {
30153015 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/processorerror_event) */
3016- onprocessorerror: ((this: AudioWorkletNode, ev: Event ) => any) | null;
3016+ onprocessorerror: ((this: AudioWorkletNode, ev: ErrorEvent ) => any) | null;
30173017 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/parameters) */
30183018 readonly parameters: AudioParamMap;
30193019 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/port) */
@@ -8818,19 +8818,19 @@ declare var FontFace: {
88188818};
88198819
88208820interface FontFaceSetEventMap {
8821- "loading": Event ;
8822- "loadingdone": Event ;
8823- "loadingerror": Event ;
8821+ "loading": FontFaceSetLoadEvent ;
8822+ "loadingdone": FontFaceSetLoadEvent ;
8823+ "loadingerror": FontFaceSetLoadEvent ;
88248824}
88258825
88268826/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet) */
88278827interface FontFaceSet extends EventTarget {
88288828 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
8829- onloading: ((this: FontFaceSet, ev: Event ) => any) | null;
8829+ onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent ) => any) | null;
88308830 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */
8831- onloadingdone: ((this: FontFaceSet, ev: Event ) => any) | null;
8831+ onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent ) => any) | null;
88328832 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */
8833- onloadingerror: ((this: FontFaceSet, ev: Event ) => any) | null;
8833+ onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent ) => any) | null;
88348834 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) */
88358835 readonly ready: Promise<FontFaceSet>;
88368836 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status) */
@@ -13373,8 +13373,8 @@ declare var HTMLUnknownElement: {
1337313373};
1337413374
1337513375interface HTMLVideoElementEventMap extends HTMLMediaElementEventMap {
13376- "enterpictureinpicture": Event ;
13377- "leavepictureinpicture": Event ;
13376+ "enterpictureinpicture": PictureInPictureEvent ;
13377+ "leavepictureinpicture": PictureInPictureEvent ;
1337813378}
1337913379
1338013380/**
@@ -13392,9 +13392,9 @@ interface HTMLVideoElement extends HTMLMediaElement {
1339213392 */
1339313393 height: number;
1339413394 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event) */
13395- onenterpictureinpicture: ((this: HTMLVideoElement, ev: Event ) => any) | null;
13395+ onenterpictureinpicture: ((this: HTMLVideoElement, ev: PictureInPictureEvent ) => any) | null;
1339613396 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event) */
13397- onleavepictureinpicture: ((this: HTMLVideoElement, ev: Event ) => any) | null;
13397+ onleavepictureinpicture: ((this: HTMLVideoElement, ev: PictureInPictureEvent ) => any) | null;
1339813398 /** Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins. */
1339913399 playsInline: boolean;
1340013400 /**
@@ -14685,7 +14685,7 @@ declare var LockManager: {
1468514685};
1468614686
1468714687interface MIDIAccessEventMap {
14688- "statechange": Event ;
14688+ "statechange": MIDIConnectionEvent ;
1468914689}
1469014690
1469114691/**
@@ -14697,7 +14697,7 @@ interface MIDIAccess extends EventTarget {
1469714697 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/inputs) */
1469814698 readonly inputs: MIDIInputMap;
1469914699 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/statechange_event) */
14700- onstatechange: ((this: MIDIAccess, ev: Event ) => any) | null;
14700+ onstatechange: ((this: MIDIAccess, ev: MIDIConnectionEvent ) => any) | null;
1470114701 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/outputs) */
1470214702 readonly outputs: MIDIOutputMap;
1470314703 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/sysexEnabled) */
@@ -15208,7 +15208,7 @@ declare var MediaQueryListEvent: {
1520815208
1520915209interface MediaRecorderEventMap {
1521015210 "dataavailable": BlobEvent;
15211- "error": Event ;
15211+ "error": ErrorEvent ;
1521215212 "pause": Event;
1521315213 "resume": Event;
1521415214 "start": Event;
@@ -15224,7 +15224,7 @@ interface MediaRecorder extends EventTarget {
1522415224 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/dataavailable_event) */
1522515225 ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;
1522615226 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/error_event) */
15227- onerror: ((this: MediaRecorder, ev: Event ) => any) | null;
15227+ onerror: ((this: MediaRecorder, ev: ErrorEvent ) => any) | null;
1522815228 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/pause_event) */
1522915229 onpause: ((this: MediaRecorder, ev: Event) => any) | null;
1523015230 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/resume_event) */
@@ -16977,7 +16977,7 @@ declare var PaymentMethodChangeEvent: {
1697716977};
1697816978
1697916979interface PaymentRequestEventMap {
16980- "paymentmethodchange": Event ;
16980+ "paymentmethodchange": PaymentMethodChangeEvent ;
1698116981 "shippingaddresschange": Event;
1698216982 "shippingoptionchange": Event;
1698316983}
@@ -16992,7 +16992,7 @@ interface PaymentRequest extends EventTarget {
1699216992 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/id) */
1699316993 readonly id: string;
1699416994 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/paymentmethodchange_event) */
16995- onpaymentmethodchange: ((this: PaymentRequest, ev: Event ) => any) | null;
16995+ onpaymentmethodchange: ((this: PaymentRequest, ev: PaymentMethodChangeEvent ) => any) | null;
1699616996 /**
1699716997 * @deprecated
1699816998 *
@@ -17987,7 +17987,7 @@ interface RTCDataChannelEventMap {
1798717987 "bufferedamountlow": Event;
1798817988 "close": Event;
1798917989 "closing": Event;
17990- "error": Event ;
17990+ "error": RTCErrorEvent ;
1799117991 "message": MessageEvent;
1799217992 "open": Event;
1799317993}
@@ -18017,7 +18017,7 @@ interface RTCDataChannel extends EventTarget {
1801718017 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/closing_event) */
1801818018 onclosing: ((this: RTCDataChannel, ev: Event) => any) | null;
1801918019 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/error_event) */
18020- onerror: ((this: RTCDataChannel, ev: Event ) => any) | null;
18020+ onerror: ((this: RTCDataChannel, ev: RTCErrorEvent ) => any) | null;
1802118021 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/message_event) */
1802218022 onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;
1802318023 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/open_event) */
@@ -18058,7 +18058,7 @@ declare var RTCDataChannelEvent: {
1805818058};
1805918059
1806018060interface RTCDtlsTransportEventMap {
18061- "error": Event ;
18061+ "error": RTCErrorEvent ;
1806218062 "statechange": Event;
1806318063}
1806418064
@@ -18067,7 +18067,7 @@ interface RTCDtlsTransport extends EventTarget {
1806718067 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */
1806818068 readonly iceTransport: RTCIceTransport;
1806918069 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */
18070- onerror: ((this: RTCDtlsTransport, ev: Event ) => any) | null;
18070+ onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent ) => any) | null;
1807118071 onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;
1807218072 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */
1807318073 readonly state: RTCDtlsTransportState;
0 commit comments