Skip to content

Commit 87cdc80

Browse files
ntsdsaschanaz
andauthored
fix: add icecandidateerror type (#1661)
Co-authored-by: saschanaz <[email protected]>
1 parent 60c5fa2 commit 87cdc80

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

baselines/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18153,7 +18153,7 @@ interface RTCPeerConnectionEventMap {
1815318153
"connectionstatechange": Event;
1815418154
"datachannel": RTCDataChannelEvent;
1815518155
"icecandidate": RTCPeerConnectionIceEvent;
18156-
"icecandidateerror": Event;
18156+
"icecandidateerror": RTCPeerConnectionIceErrorEvent;
1815718157
"iceconnectionstatechange": Event;
1815818158
"icegatheringstatechange": Event;
1815918159
"negotiationneeded": Event;
@@ -18188,7 +18188,7 @@ interface RTCPeerConnection extends EventTarget {
1818818188
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icecandidate_event) */
1818918189
onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;
1819018190
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icecandidateerror_event) */
18191-
onicecandidateerror: ((this: RTCPeerConnection, ev: Event) => any) | null;
18191+
onicecandidateerror: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceErrorEvent) => any) | null;
1819218192
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/iceconnectionstatechange_event) */
1819318193
oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
1819418194
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icegatheringstatechange_event) */

inputfiles/overridingTypes.jsonc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,6 +2096,10 @@
20962096
{
20972097
"name": "datachannel",
20982098
"type": "RTCDataChannelEvent"
2099+
},
2100+
{
2101+
"name": "icecandidateerror",
2102+
"type": "RTCPeerConnectionIceErrorEvent"
20992103
}
21002104
]
21012105
},

0 commit comments

Comments
 (0)