import type MediaStreamTrack from './MediaStreamTrack'; export default class MediaStreamTrackEvent { type: string; track: MediaStreamTrack; // @ts-ignore:next-line constructor(type, eventInitDict: { track: MediaStreamTrack }) { this.type = type.toString(); this.track = eventInitDict.track; } }