@@ -5132,7 +5132,7 @@ interface GlobalEventHandlers {
5132
5132
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5133
5133
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5134
5134
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5135
- onerror: (this: GlobalEventHandlers, ev: ErrorEvent) => any;
5135
+ onerror: (( this: GlobalEventHandlers, ev: ErrorEvent) => any) | null ;
5136
5136
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
5137
5137
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
5138
5138
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -15891,7 +15891,7 @@ interface WindowEventHandlersEventMap {
15891
15891
interface WindowEventHandlers {
15892
15892
onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null;
15893
15893
onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null;
15894
- onbeforeunload: (this: WindowEventHandlers, ev: BeforeUnloadEvent) => any;
15894
+ onbeforeunload: (( this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null ;
15895
15895
onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | null;
15896
15896
onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null;
15897
15897
onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;
@@ -16746,7 +16746,7 @@ declare var ondrop: ((this: Window, ev: DragEvent) => any) | null;
16746
16746
declare var ondurationchange: ((this: Window, ev: Event) => any) | null;
16747
16747
declare var onemptied: ((this: Window, ev: Event) => any) | null;
16748
16748
declare var onended: ((this: Window, ev: Event) => any) | null;
16749
- declare var onerror: (this: Window, ev: ErrorEvent) => any;
16749
+ declare var onerror: (( this: Window, ev: ErrorEvent) => any) | null ;
16750
16750
declare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;
16751
16751
declare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;
16752
16752
declare var oninput: ((this: Window, ev: Event) => any) | null;
0 commit comments