@@ -1953,7 +1953,7 @@ interface ApplicationCacheEventMap {
1953
1953
"error": Event;
1954
1954
"noupdate": Event;
1955
1955
"obsolete": Event;
1956
- "progress": ProgressEvent;
1956
+ "progress": ProgressEvent<ApplicationCache> ;
1957
1957
"updateready": Event;
1958
1958
}
1959
1959
@@ -1971,7 +1971,7 @@ interface ApplicationCache extends EventTarget {
1971
1971
/** @deprecated */
1972
1972
onobsolete: ((this: ApplicationCache, ev: Event) => any) | null;
1973
1973
/** @deprecated */
1974
- onprogress: ((this: ApplicationCache, ev: ProgressEvent) => any) | null;
1974
+ onprogress: ((this: ApplicationCache, ev: ProgressEvent<ApplicationCache> ) => any) | null;
1975
1975
/** @deprecated */
1976
1976
onupdateready: ((this: ApplicationCache, ev: Event) => any) | null;
1977
1977
/** @deprecated */
@@ -4286,7 +4286,7 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap, DocumentAndEleme
4286
4286
"fullscreenerror": Event;
4287
4287
"pointerlockchange": Event;
4288
4288
"pointerlockerror": Event;
4289
- "readystatechange": ProgressEvent;
4289
+ "readystatechange": ProgressEvent<Document> ;
4290
4290
"visibilitychange": Event;
4291
4291
}
4292
4292
@@ -4445,7 +4445,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
4445
4445
* Fires when the state of the object has changed.
4446
4446
* @param ev The event
4447
4447
*/
4448
- onreadystatechange: ((this: Document, ev: ProgressEvent) => any) | null;
4448
+ onreadystatechange: ((this: Document, ev: ProgressEvent<Document> ) => any) | null;
4449
4449
onvisibilitychange: ((this: Document, ev: Event) => any) | null;
4450
4450
/**
4451
4451
* Returns document's origin.
@@ -17241,9 +17241,9 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
17241
17241
"play": Event;
17242
17242
"playing": Event;
17243
17243
"popstate": PopStateEvent;
17244
- "progress": ProgressEvent;
17244
+ "progress": ProgressEvent<Window> ;
17245
17245
"ratechange": Event;
17246
- "readystatechange": ProgressEvent;
17246
+ "readystatechange": ProgressEvent<Window> ;
17247
17247
"reset": Event;
17248
17248
"resize": UIEvent;
17249
17249
"scroll": Event;
@@ -17327,7 +17327,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
17327
17327
onmspointerup: ((this: Window, ev: Event) => any) | null;
17328
17328
/** @deprecated */
17329
17329
onorientationchange: ((this: Window, ev: Event) => any) | null;
17330
- onreadystatechange: ((this: Window, ev: ProgressEvent) => any) | null;
17330
+ onreadystatechange: ((this: Window, ev: ProgressEvent<Window> ) => any) | null;
17331
17331
onvrdisplayactivate: ((this: Window, ev: Event) => any) | null;
17332
17332
onvrdisplayblur: ((this: Window, ev: Event) => any) | null;
17333
17333
onvrdisplayconnect: ((this: Window, ev: Event) => any) | null;
@@ -17679,13 +17679,13 @@ declare var XMLHttpRequest: {
17679
17679
};
17680
17680
17681
17681
interface XMLHttpRequestEventTargetEventMap {
17682
- "abort": ProgressEvent;
17683
- "error": ProgressEvent;
17684
- "load": ProgressEvent;
17685
- "loadend": ProgressEvent;
17686
- "loadstart": ProgressEvent;
17687
- "progress": ProgressEvent;
17688
- "timeout": ProgressEvent;
17682
+ "abort": ProgressEvent<XMLHttpRequestEventTarget> ;
17683
+ "error": ProgressEvent<XMLHttpRequestEventTarget> ;
17684
+ "load": ProgressEvent<XMLHttpRequestEventTarget> ;
17685
+ "loadend": ProgressEvent<XMLHttpRequestEventTarget> ;
17686
+ "loadstart": ProgressEvent<XMLHttpRequestEventTarget> ;
17687
+ "progress": ProgressEvent<XMLHttpRequestEventTarget> ;
17688
+ "timeout": ProgressEvent<XMLHttpRequestEventTarget> ;
17689
17689
}
17690
17690
17691
17691
interface XMLHttpRequestEventTarget extends EventTarget {
@@ -18323,7 +18323,7 @@ declare var onmspointerover: ((this: Window, ev: Event) => any) | null;
18323
18323
declare var onmspointerup: ((this: Window, ev: Event) => any) | null;
18324
18324
/** @deprecated */
18325
18325
declare var onorientationchange: ((this: Window, ev: Event) => any) | null;
18326
- declare var onreadystatechange: ((this: Window, ev: ProgressEvent) => any) | null;
18326
+ declare var onreadystatechange: ((this: Window, ev: ProgressEvent<Window> ) => any) | null;
18327
18327
declare var onvrdisplayactivate: ((this: Window, ev: Event) => any) | null;
18328
18328
declare var onvrdisplayblur: ((this: Window, ev: Event) => any) | null;
18329
18329
declare var onvrdisplayconnect: ((this: Window, ev: Event) => any) | null;
0 commit comments