Skip to content

Commit bb415a7

Browse files
saschanazsandersn
authored andcommitted
fix auxclick event type (#678)
1 parent 767f1a1 commit bb415a7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

baselines/dom.generated.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5441,7 +5441,7 @@ interface GlobalEventHandlersEventMap {
54415441
"animationend": AnimationEvent;
54425442
"animationiteration": AnimationEvent;
54435443
"animationstart": AnimationEvent;
5444-
"auxclick": Event;
5444+
"auxclick": MouseEvent;
54455445
"blur": FocusEvent;
54465446
"cancel": Event;
54475447
"canplay": Event;
@@ -5534,7 +5534,7 @@ interface GlobalEventHandlers {
55345534
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
55355535
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
55365536
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
5537-
onauxclick: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5537+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
55385538
/**
55395539
* Fires when the object loses the input focus.
55405540
* @param ev The focus event.
@@ -18239,7 +18239,7 @@ declare var onanimationcancel: ((this: Window, ev: AnimationEvent) => any) | nul
1823918239
declare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;
1824018240
declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;
1824118241
declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
18242-
declare var onauxclick: ((this: Window, ev: Event) => any) | null;
18242+
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
1824318243
/**
1824418244
* Fires when the object loses the input focus.
1824518245
* @param ev The focus event.

inputfiles/addedTypes.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
"GlobalEventHandlers": {
7575
"events": {
7676
"event": [
77+
{
78+
"name": "auxclick",
79+
"type": "MouseEvent"
80+
},
7781
{
7882
"name": "cancel",
7983
"type": "Event"

0 commit comments

Comments
 (0)