react-native-benchmark
Version:
React Native benchmarking library inspired by benchmark.js
21 lines (20 loc) • 568 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Event = exports.EventType = void 0;
var EventType;
(function (EventType) {
EventType["ABORT"] = "abort";
EventType["START"] = "start";
EventType["CYCLE"] = "cycle";
EventType["COMPLETE"] = "complete";
EventType["ERROR"] = "error";
})(EventType = exports.EventType || (exports.EventType = {}));
class Event {
constructor(type, target) {
this.type = type;
if (target) {
this.target = target;
}
}
}
exports.Event = Event;