@octalmage/node-appletv
Version:
A Node.js library for communicating with an Apple TV
19 lines (18 loc) • 483 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const events_1 = require("events");
class TypedEventEmitter extends events_1.EventEmitter {
constructor(...args) {
super();
}
_on(event, callback) {
return super.on(event, callback);
}
on(event, callback) {
return super.on(event, callback);
}
emit(event, payload) {
return super.emit(event, payload);
}
}
exports.default = TypedEventEmitter;