class Event { constructor(type, data) { this.type = type; this.data = data; } } export default Event;