import type RTCIceCandidate from './RTCIceCandidate'; export default class RTCIceCandidateEvent { type: string; candidate: RTCIceCandidate | null; // @ts-ignore:next-line constructor(type, eventInitDict) { this.type = type.toString(); this.candidate = eventInitDict?.candidate ?? null; } }