ecol
Version:
Event Collections
16 lines • 620 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var ForOfAdaptor_1 = require("tstl/internal/iterator/disposable/ForOfAdaptor");
var CollectionEvent = /** @class */ (function () {
function CollectionEvent(type, first, last) {
this.type = type;
this.first = first;
this.last = last;
}
CollectionEvent.prototype[Symbol.iterator] = function () {
return new ForOfAdaptor_1.ForOfAdaptor(this.first, this.last);
};
return CollectionEvent;
}());
exports.CollectionEvent = CollectionEvent;
//# sourceMappingURL=CollectionEvent.js.map