diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 45f674577..8f0ffe2d2 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -5336,11 +5336,11 @@ interface GlobalEventHandlersEventMap { "ratechange": Event; "reset": Event; "resize": UIEvent; - "scroll": UIEvent; + "scroll": Event; "securitypolicyviolation": SecurityPolicyViolationEvent; "seeked": Event; "seeking": Event; - "select": UIEvent; + "select": Event; "stalled": Event; "submit": Event; "suspend": Event; @@ -5571,7 +5571,7 @@ interface GlobalEventHandlers { * Fires when the user repositions the scroll box in the scroll bar on the object. * @param ev The event. */ - onscroll: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; + onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null; /** * Occurs when the seek operation ends. @@ -5587,7 +5587,7 @@ interface GlobalEventHandlers { * Fires when the current selection changes. * @param ev The event. */ - onselect: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; + onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the download has stopped. * @param ev The event. @@ -16467,10 +16467,10 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler "readystatechange": ProgressEvent; "reset": Event; "resize": UIEvent; - "scroll": UIEvent; + "scroll": Event; "seeked": Event; "seeking": Event; - "select": UIEvent; + "select": Event; "stalled": Event; "storage": StorageEvent; "submit": Event; @@ -17699,7 +17699,7 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null; * Fires when the user repositions the scroll box in the scroll bar on the object. * @param ev The event. */ -declare var onscroll: ((this: Window, ev: UIEvent) => any) | null; +declare var onscroll: ((this: Window, ev: Event) => any) | null; declare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null; /** * Occurs when the seek operation ends. @@ -17715,7 +17715,7 @@ declare var onseeking: ((this: Window, ev: Event) => any) | null; * Fires when the current selection changes. * @param ev The event. */ -declare var onselect: ((this: Window, ev: UIEvent) => any) | null; +declare var onselect: ((this: Window, ev: Event) => any) | null; /** * Occurs when the download has stopped. * @param ev The event. diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index c4c0548ef..24384e946 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -96,11 +96,11 @@ }, { "name": "scroll", - "type": "UIEvent" + "type": "Event" }, { "name": "select", - "type": "UIEvent" + "type": "Event" }, { "name": "wheel",