• Philipp von Weitershausen's avatar
    Style fixes · 7685d9f6
    Philipp von Weitershausen authored
    - import statements need to be determinated by semicolons too
    - if we're using ES6 imports now, we might as well use ES6 exports too
    - strive to stay within 80 chars per line
    7685d9f6
MediaStreamTrackEvent.js 276 bytes
'use strict';
import type MediaStreamTrack from './MediaStreamTrack';
export default class MediaStreamTrackEvent {
  type: string;
  track: MediaStreamTrack;
  constructor(type, eventInitDict) {
    this.type = type.toString();
    Object.assign(this, eventInitDict);