endWith.js 419 B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var concat_1 = require("../observable/concat");
  4. function endWith() {
  5. var array = [];
  6. for (var _i = 0; _i < arguments.length; _i++) {
  7. array[_i] = arguments[_i];
  8. }
  9. return function (source) { return concat_1.concat.apply(void 0, [source].concat(array)); };
  10. }
  11. exports.endWith = endWith;
  12. //# sourceMappingURL=endWith.js.map