diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 4f897af7f..4eb9f8734 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -18153,7 +18153,7 @@ interface RTCPeerConnectionEventMap { "connectionstatechange": Event; "datachannel": RTCDataChannelEvent; "icecandidate": RTCPeerConnectionIceEvent; - "icecandidateerror": Event; + "icecandidateerror": RTCPeerConnectionIceErrorEvent; "iceconnectionstatechange": Event; "icegatheringstatechange": Event; "negotiationneeded": Event; @@ -18188,7 +18188,7 @@ interface RTCPeerConnection extends EventTarget { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icecandidate_event) */ onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icecandidateerror_event) */ - onicecandidateerror: ((this: RTCPeerConnection, ev: Event) => any) | null; + onicecandidateerror: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceErrorEvent) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/iceconnectionstatechange_event) */ oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icegatheringstatechange_event) */ diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index 7ae17c41f..21924841b 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -2096,6 +2096,10 @@ { "name": "datachannel", "type": "RTCDataChannelEvent" + }, + { + "name": "icecandidateerror", + "type": "RTCPeerConnectionIceErrorEvent" } ] },