endWith.js 424 B

1234567891011
  1. /** PURE_IMPORTS_START _observable_concat,_observable_of PURE_IMPORTS_END */
  2. import { concat } from '../observable/concat';
  3. import { of } from '../observable/of';
  4. export 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(source, of.apply(void 0, array)); };
  10. }
  11. //# sourceMappingURL=endWith.js.map