From 79b1b95046dd226d97ae2cd258a260cee93b6d06 Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Mon, 10 Jun 2019 10:21:31 -0700 Subject: [PATCH] feat(rxjs-compat): removed for v7 (#4839) BREAKING CHANGE: `rxjs/Rx` is no longer a valid import site. BREAKING CHANGE: `rxjs-compat` is not published for v7 (yet) --- .gitignore | 3 +- .make-compat-package.js | 50 ---- .make-helpers.js | 25 +- .make-packages.js | 45 ---- compat/AsyncSubject.ts | 1 - compat/BehaviorSubject.ts | 1 - compat/InnerSubscriber.ts | 1 - compat/Notification.ts | 1 - compat/Observable.ts | 2 - compat/Observer.ts | 1 - compat/Operator.ts | 1 - compat/OuterSubscriber.ts | 1 - compat/README.md | 15 -- compat/ReplaySubject.ts | 1 - compat/Rx.ts | 218 ----------------- compat/Scheduler.ts | 2 - compat/Subject.ts | 1 - compat/SubjectSubscription.ts | 1 - compat/Subscriber.ts | 1 - compat/Subscription.ts | 1 - compat/add/observable/bindCallback.ts | 9 - compat/add/observable/bindNodeCallback.ts | 9 - compat/add/observable/combineLatest.ts | 9 - compat/add/observable/concat.ts | 9 - compat/add/observable/defer.ts | 9 - compat/add/observable/dom/ajax.ts | 11 - compat/add/observable/dom/webSocket.ts | 10 - compat/add/observable/empty.ts | 9 - compat/add/observable/forkJoin.ts | 9 - compat/add/observable/from.ts | 9 - compat/add/observable/fromEvent.ts | 9 - compat/add/observable/fromEventPattern.ts | 9 - compat/add/observable/fromPromise.ts | 10 - compat/add/observable/generate.ts | 9 - compat/add/observable/if.ts | 3 - compat/add/observable/interval.ts | 9 - compat/add/observable/merge.ts | 9 - compat/add/observable/never.ts | 13 - compat/add/observable/of.ts | 9 - compat/add/observable/onErrorResumeNext.ts | 9 - compat/add/observable/pairs.ts | 9 - compat/add/observable/race.ts | 9 - compat/add/observable/range.ts | 9 - compat/add/observable/throw.ts | 10 - compat/add/observable/timer.ts | 9 - compat/add/observable/using.ts | 9 - compat/add/observable/zip.ts | 9 - compat/add/operator/audit.ts | 10 - compat/add/operator/auditTime.ts | 10 - compat/add/operator/buffer.ts | 11 - compat/add/operator/bufferCount.ts | 11 - compat/add/operator/bufferTime.ts | 11 - compat/add/operator/bufferToggle.ts | 11 - compat/add/operator/bufferWhen.ts | 11 - compat/add/operator/catch.ts | 13 - compat/add/operator/combineAll.ts | 11 - compat/add/operator/combineLatest.ts | 11 - compat/add/operator/concat.ts | 11 - compat/add/operator/concatAll.ts | 11 - compat/add/operator/concatMap.ts | 11 - compat/add/operator/concatMapTo.ts | 11 - compat/add/operator/count.ts | 11 - compat/add/operator/debounce.ts | 11 - compat/add/operator/debounceTime.ts | 11 - compat/add/operator/defaultIfEmpty.ts | 11 - compat/add/operator/delay.ts | 11 - compat/add/operator/delayWhen.ts | 11 - compat/add/operator/dematerialize.ts | 11 - compat/add/operator/distinct.ts | 10 - compat/add/operator/distinctUntilChanged.ts | 11 - .../add/operator/distinctUntilKeyChanged.ts | 11 - compat/add/operator/do.ts | 13 - compat/add/operator/elementAt.ts | 11 - compat/add/operator/every.ts | 11 - compat/add/operator/exhaust.ts | 11 - compat/add/operator/exhaustMap.ts | 11 - compat/add/operator/expand.ts | 11 - compat/add/operator/filter.ts | 11 - compat/add/operator/finally.ts | 13 - compat/add/operator/find.ts | 11 - compat/add/operator/findIndex.ts | 11 - compat/add/operator/first.ts | 11 - compat/add/operator/groupBy.ts | 11 - compat/add/operator/ignoreElements.ts | 11 - compat/add/operator/isEmpty.ts | 11 - compat/add/operator/last.ts | 11 - compat/add/operator/let.ts | 13 - compat/add/operator/map.ts | 11 - compat/add/operator/mapTo.ts | 11 - compat/add/operator/materialize.ts | 11 - compat/add/operator/max.ts | 11 - compat/add/operator/merge.ts | 11 - compat/add/operator/mergeAll.ts | 11 - compat/add/operator/mergeMap.ts | 13 - compat/add/operator/mergeMapTo.ts | 13 - compat/add/operator/mergeScan.ts | 11 - compat/add/operator/min.ts | 11 - compat/add/operator/multicast.ts | 11 - compat/add/operator/observeOn.ts | 11 - compat/add/operator/onErrorResumeNext.ts | 10 - compat/add/operator/pairwise.ts | 11 - compat/add/operator/partition.ts | 11 - compat/add/operator/pluck.ts | 11 - compat/add/operator/publish.ts | 11 - compat/add/operator/publishBehavior.ts | 11 - compat/add/operator/publishLast.ts | 11 - compat/add/operator/publishReplay.ts | 11 - compat/add/operator/race.ts | 11 - compat/add/operator/reduce.ts | 11 - compat/add/operator/repeat.ts | 11 - compat/add/operator/repeatWhen.ts | 11 - compat/add/operator/retry.ts | 11 - compat/add/operator/retryWhen.ts | 11 - compat/add/operator/sample.ts | 11 - compat/add/operator/sampleTime.ts | 11 - compat/add/operator/scan.ts | 12 - compat/add/operator/sequenceEqual.ts | 11 - compat/add/operator/share.ts | 11 - compat/add/operator/shareReplay.ts | 11 - compat/add/operator/single.ts | 11 - compat/add/operator/skip.ts | 11 - compat/add/operator/skipLast.ts | 10 - compat/add/operator/skipUntil.ts | 11 - compat/add/operator/skipWhile.ts | 11 - compat/add/operator/startWith.ts | 11 - compat/add/operator/subscribeOn.ts | 11 - compat/add/operator/switch.ts | 13 - compat/add/operator/switchMap.ts | 11 - compat/add/operator/switchMapTo.ts | 11 - compat/add/operator/take.ts | 11 - compat/add/operator/takeLast.ts | 10 - compat/add/operator/takeUntil.ts | 11 - compat/add/operator/takeWhile.ts | 11 - compat/add/operator/throttle.ts | 11 - compat/add/operator/throttleTime.ts | 11 - compat/add/operator/timeInterval.ts | 11 - compat/add/operator/timeout.ts | 11 - compat/add/operator/timeoutWith.ts | 11 - compat/add/operator/timestamp.ts | 10 - compat/add/operator/toArray.ts | 11 - compat/add/operator/toPromise.ts | 2 - compat/add/operator/window.ts | 11 - compat/add/operator/windowCount.ts | 11 - compat/add/operator/windowTime.ts | 11 - compat/add/operator/windowToggle.ts | 11 - compat/add/operator/windowWhen.ts | 11 - compat/add/operator/withLatestFrom.ts | 11 - compat/add/operator/zip.ts | 11 - compat/add/operator/zipAll.ts | 11 - compat/index.ts | 2 - compat/interfaces.ts | 1 - compat/observable/ArrayLikeObservable.ts | 7 - compat/observable/ArrayObservable.ts | 7 - compat/observable/BoundCallbackObservable.ts | 28 --- .../observable/BoundNodeCallbackObservable.ts | 20 -- compat/observable/ConnectableObservable.ts | 1 - compat/observable/DeferObservable.ts | 7 - compat/observable/EmptyObservable.ts | 7 - compat/observable/ErrorObservable.ts | 7 - compat/observable/ForkJoinObservable.ts | 29 --- compat/observable/FromEventObservable.ts | 18 -- .../observable/FromEventPatternObservable.ts | 9 - compat/observable/FromObservable.ts | 9 - compat/observable/GenerateObservable.ts | 19 -- compat/observable/IfObservable.ts | 9 - compat/observable/IntervalObservable.ts | 8 - compat/observable/IteratorObservable.ts | 7 - compat/observable/NeverObservable.ts | 7 - compat/observable/PairsObservable.ts | 7 - compat/observable/PromiseObservable.ts | 7 - compat/observable/RangeObservable.ts | 9 - compat/observable/ScalarObservable.ts | 7 - compat/observable/SubscribeOnObservable.ts | 1 - compat/observable/TimerObservable.ts | 9 - compat/observable/UsingObservable.ts | 8 - compat/observable/bindCallback.ts | 1 - compat/observable/bindNodeCallback.ts | 1 - compat/observable/combineLatest.ts | 1 - compat/observable/concat.ts | 1 - compat/observable/defer.ts | 1 - compat/observable/dom/AjaxObservable.ts | 2 - compat/observable/dom/WebSocketSubject.ts | 1 - compat/observable/dom/ajax.ts | 1 - compat/observable/dom/webSocket.ts | 1 - compat/observable/empty.ts | 1 - compat/observable/forkJoin.ts | 1 - compat/observable/from.ts | 1 - compat/observable/fromArray.ts | 1 - compat/observable/fromEvent.ts | 1 - compat/observable/fromEventPattern.ts | 1 - compat/observable/fromIterable.ts | 1 - compat/observable/fromPromise.ts | 1 - compat/observable/generate.ts | 1 - compat/observable/if.ts | 1 - compat/observable/interval.ts | 1 - compat/observable/merge.ts | 1 - compat/observable/never.ts | 1 - compat/observable/of.ts | 1 - compat/observable/onErrorResumeNext.ts | 1 - compat/observable/pairs.ts | 1 - compat/observable/race.ts | 1 - compat/observable/range.ts | 2 - compat/observable/throw.ts | 1 - compat/observable/timer.ts | 1 - compat/observable/using.ts | 1 - compat/observable/zip.ts | 1 - compat/operator/audit.ts | 47 ---- compat/operator/auditTime.ts | 48 ---- compat/operator/buffer.ts | 39 --- compat/operator/bufferCount.ts | 48 ---- compat/operator/bufferTime.ts | 74 ------ compat/operator/bufferToggle.ts | 46 ---- compat/operator/bufferWhen.ts | 40 --- compat/operator/catch.ts | 66 ----- compat/operator/combineAll.ts | 53 ---- compat/operator/combineLatest.ts | 79 ------ compat/operator/concat.ts | 65 ----- compat/operator/concatAll.ts | 57 ----- compat/operator/concatMap.ts | 57 ----- compat/operator/concatMapTo.ts | 54 ----- compat/operator/count.ts | 54 ----- compat/operator/debounce.ts | 49 ---- compat/operator/debounceTime.ts | 53 ---- compat/operator/defaultIfEmpty.ts | 42 ---- compat/operator/delay.ts | 46 ---- compat/operator/delayWhen.ts | 53 ---- compat/operator/dematerialize.ts | 47 ---- compat/operator/distinct.ts | 53 ---- compat/operator/distinctUntilChanged.ts | 51 ---- compat/operator/distinctUntilKeyChanged.ts | 70 ------ compat/operator/do.ts | 57 ----- compat/operator/elementAt.ts | 49 ---- compat/operator/every.ts | 22 -- compat/operator/exhaust.ts | 43 ---- compat/operator/exhaustMap.ts | 44 ---- compat/operator/expand.ts | 60 ----- compat/operator/filter.ts | 56 ----- compat/operator/finally.ts | 77 ------ compat/operator/find.ts | 49 ---- compat/operator/findIndex.ts | 40 --- compat/operator/first.ts | 55 ----- compat/operator/groupBy.ts | 85 ------- compat/operator/ignoreElements.ts | 16 -- compat/operator/isEmpty.ts | 16 -- compat/operator/last.ts | 30 --- compat/operator/let.ts | 11 - compat/operator/map.ts | 39 --- compat/operator/mapTo.ts | 32 --- compat/operator/materialize.ts | 51 ---- compat/operator/max.ts | 37 --- compat/operator/merge.ts | 68 ------ compat/operator/mergeAll.ts | 53 ---- compat/operator/mergeMap.ts | 57 ----- compat/operator/mergeMapTo.ts | 41 ---- compat/operator/mergeScan.ts | 40 --- compat/operator/min.ts | 37 --- compat/operator/multicast.ts | 109 --------- compat/operator/observeOn.ts | 52 ---- compat/operator/onErrorResumeNext.ts | 81 ------- compat/operator/pairwise.ts | 41 ---- compat/operator/partition.ts | 46 ---- compat/operator/pluck.ts | 33 --- compat/operator/publish.ts | 28 --- compat/operator/publishBehavior.ts | 12 - compat/operator/publishLast.ts | 11 - compat/operator/publishReplay.ts | 25 -- compat/operator/race.ts | 21 -- compat/operator/reduce.ts | 65 ----- compat/operator/repeat.ts | 19 -- compat/operator/repeatWhen.ts | 20 -- compat/operator/retry.ts | 22 -- compat/operator/retryWhen.ts | 19 -- compat/operator/sample.ts | 40 --- compat/operator/sampleTime.ts | 42 ---- compat/operator/scan.ts | 55 ----- compat/operator/sequenceEqual.ts | 59 ----- compat/operator/share.ts | 22 -- compat/operator/shareReplay.ts | 17 -- compat/operator/single.ts | 22 -- compat/operator/skip.ts | 17 -- compat/operator/skipLast.ts | 38 --- compat/operator/skipUntil.ts | 18 -- compat/operator/skipWhile.ts | 18 -- compat/operator/startWith.ts | 31 --- compat/operator/subscribeOn.ts | 18 -- compat/operator/switch.ts | 51 ---- compat/operator/switchMap.ts | 46 ---- compat/operator/switchMapTo.ts | 45 ---- compat/operator/take.ts | 39 --- compat/operator/takeLast.ts | 43 ---- compat/operator/takeUntil.ts | 40 --- compat/operator/takeWhile.ts | 42 ---- compat/operator/throttle.ts | 49 ---- compat/operator/throttleTime.ts | 49 ---- compat/operator/timeInterval.ts | 13 - compat/operator/timeout.ts | 73 ------ compat/operator/timeoutWith.ts | 60 ----- compat/operator/timestamp.ts | 12 - compat/operator/toArray.ts | 30 --- compat/operator/toPromise.ts | 5 - compat/operator/window.ts | 43 ---- compat/operator/windowCount.ts | 56 ----- compat/operator/windowTime.ts | 99 -------- compat/operator/windowToggle.ts | 49 ---- compat/operator/windowWhen.ts | 45 ---- compat/operator/withLatestFrom.ts | 61 ----- compat/operator/zip.ts | 29 --- compat/operator/zipAll.ts | 17 -- compat/operators/audit.ts | 1 - compat/operators/auditTime.ts | 1 - compat/operators/buffer.ts | 1 - compat/operators/bufferCount.ts | 1 - compat/operators/bufferTime.ts | 1 - compat/operators/bufferToggle.ts | 1 - compat/operators/bufferWhen.ts | 1 - compat/operators/catchError.ts | 1 - compat/operators/combineAll.ts | 1 - compat/operators/combineLatest.ts | 1 - compat/operators/concat.ts | 1 - compat/operators/concatAll.ts | 1 - compat/operators/concatMap.ts | 1 - compat/operators/concatMapTo.ts | 1 - compat/operators/count.ts | 1 - compat/operators/debounce.ts | 1 - compat/operators/debounceTime.ts | 1 - compat/operators/defaultIfEmpty.ts | 1 - compat/operators/delay.ts | 1 - compat/operators/delayWhen.ts | 1 - compat/operators/dematerialize.ts | 1 - compat/operators/distinct.ts | 1 - compat/operators/distinctUntilChanged.ts | 1 - compat/operators/distinctUntilKeyChanged.ts | 1 - compat/operators/elementAt.ts | 1 - compat/operators/every.ts | 1 - compat/operators/exhaust.ts | 1 - compat/operators/exhaustMap.ts | 1 - compat/operators/expand.ts | 1 - compat/operators/filter.ts | 1 - compat/operators/finalize.ts | 1 - compat/operators/find.ts | 1 - compat/operators/findIndex.ts | 1 - compat/operators/first.ts | 1 - compat/operators/groupBy.ts | 2 - compat/operators/ignoreElements.ts | 1 - compat/operators/isEmpty.ts | 1 - compat/operators/last.ts | 1 - compat/operators/map.ts | 1 - compat/operators/mapTo.ts | 1 - compat/operators/materialize.ts | 1 - compat/operators/max.ts | 1 - compat/operators/merge.ts | 1 - compat/operators/mergeAll.ts | 1 - compat/operators/mergeMap.ts | 1 - compat/operators/mergeMapTo.ts | 1 - compat/operators/mergeScan.ts | 1 - compat/operators/min.ts | 1 - compat/operators/multicast.ts | 1 - compat/operators/observeOn.ts | 1 - compat/operators/onErrorResumeNext.ts | 1 - compat/operators/pairwise.ts | 1 - compat/operators/partition.ts | 1 - compat/operators/pluck.ts | 1 - compat/operators/publish.ts | 1 - compat/operators/publishBehavior.ts | 1 - compat/operators/publishLast.ts | 1 - compat/operators/publishReplay.ts | 1 - compat/operators/race.ts | 1 - compat/operators/reduce.ts | 1 - compat/operators/refCount.ts | 1 - compat/operators/repeat.ts | 1 - compat/operators/repeatWhen.ts | 1 - compat/operators/retry.ts | 1 - compat/operators/retryWhen.ts | 1 - compat/operators/sample.ts | 1 - compat/operators/sampleTime.ts | 1 - compat/operators/scan.ts | 1 - compat/operators/sequenceEqual.ts | 1 - compat/operators/share.ts | 1 - compat/operators/shareReplay.ts | 1 - compat/operators/single.ts | 1 - compat/operators/skip.ts | 1 - compat/operators/skipLast.ts | 1 - compat/operators/skipUntil.ts | 1 - compat/operators/skipWhile.ts | 1 - compat/operators/startWith.ts | 1 - compat/operators/subscribeOn.ts | 1 - compat/operators/switchAll.ts | 1 - compat/operators/switchMap.ts | 1 - compat/operators/switchMapTo.ts | 1 - compat/operators/take.ts | 1 - compat/operators/takeLast.ts | 1 - compat/operators/takeUntil.ts | 1 - compat/operators/takeWhile.ts | 1 - compat/operators/tap.ts | 1 - compat/operators/throttle.ts | 1 - compat/operators/throttleTime.ts | 1 - compat/operators/throwIfEmpty.ts | 1 - compat/operators/timeInterval.ts | 1 - compat/operators/timeout.ts | 1 - compat/operators/timeoutWith.ts | 1 - compat/operators/timestamp.ts | 1 - compat/operators/toArray.ts | 1 - compat/operators/window.ts | 1 - compat/operators/windowCount.ts | 1 - compat/operators/windowTime.ts | 1 - compat/operators/windowToggle.ts | 1 - compat/operators/windowWhen.ts | 1 - compat/operators/withLatestFrom.ts | 1 - compat/operators/zip.ts | 1 - compat/operators/zipAll.ts | 1 - compat/package.json | 7 - compat/scheduler/animationFrame.ts | 1 - compat/scheduler/asap.ts | 1 - compat/scheduler/async.ts | 1 - compat/scheduler/queue.ts | 1 - compat/symbol/iterator.ts | 1 - compat/symbol/observable.ts | 1 - compat/symbol/rxSubscriber.ts | 1 - compat/umd.ts | 18 -- compat/util/ArgumentOutOfRangeError.ts | 1 - compat/util/EmptyError.ts | 1 - compat/util/Immediate.ts | 1 - compat/util/ObjectUnsubscribedError.ts | 1 - compat/util/TimeoutError.ts | 1 - compat/util/UnsubscriptionError.ts | 1 - compat/util/applyMixins.ts | 1 - compat/util/errorObject.ts | 1 - compat/util/hostReportError.ts | 1 - compat/util/identity.ts | 1 - compat/util/isArray.ts | 1 - compat/util/isArrayLike.ts | 1 - compat/util/isDate.ts | 1 - compat/util/isFunction.ts | 1 - compat/util/isIterable.ts | 1 - compat/util/isNumeric.ts | 1 - compat/util/isObject.ts | 1 - compat/util/isObservable.ts | 1 - compat/util/isPromise.ts | 1 - compat/util/isScheduler.ts | 1 - compat/util/noop.ts | 1 - compat/util/not.ts | 1 - compat/util/pipe.ts | 1 - compat/util/root.ts | 1 - compat/util/subscribeTo.ts | 1 - compat/util/subscribeToArray.ts | 1 - compat/util/subscribeToIterable.ts | 1 - compat/util/subscribeToObservable.ts | 1 - compat/util/subscribeToPromise.ts | 1 - compat/util/subscribeToResult.ts | 1 - compat/util/toSubscriber.ts | 1 - compat/util/tryCatch.ts | 1 - doc/pipeable-operators.md | 2 +- legacy-reexport/AsyncSubject.ts | 1 - legacy-reexport/BehaviorSubject.ts | 1 - legacy-reexport/InnerSubscriber.ts | 1 - legacy-reexport/Notification.ts | 1 - legacy-reexport/Observable.ts | 1 - legacy-reexport/Observer.ts | 1 - legacy-reexport/Operator.ts | 1 - legacy-reexport/OuterSubscriber.ts | 1 - legacy-reexport/ReplaySubject.ts | 1 - legacy-reexport/Rx.ts | 2 - legacy-reexport/Scheduler.ts | 1 - legacy-reexport/Subject.ts | 1 - legacy-reexport/SubjectSubscription.ts | 1 - legacy-reexport/Subscriber.ts | 1 - legacy-reexport/Subscription.ts | 1 - .../add/observable/bindCallback.ts | 1 - .../add/observable/bindNodeCallback.ts | 1 - .../add/observable/combineLatest.ts | 1 - legacy-reexport/add/observable/concat.ts | 1 - legacy-reexport/add/observable/defer.ts | 1 - legacy-reexport/add/observable/dom/ajax.ts | 1 - .../add/observable/dom/webSocket.ts | 1 - legacy-reexport/add/observable/empty.ts | 1 - legacy-reexport/add/observable/forkJoin.ts | 1 - legacy-reexport/add/observable/from.ts | 1 - legacy-reexport/add/observable/fromEvent.ts | 1 - .../add/observable/fromEventPattern.ts | 1 - legacy-reexport/add/observable/fromPromise.ts | 1 - legacy-reexport/add/observable/generate.ts | 1 - legacy-reexport/add/observable/if.ts | 1 - legacy-reexport/add/observable/interval.ts | 1 - legacy-reexport/add/observable/merge.ts | 1 - legacy-reexport/add/observable/never.ts | 1 - legacy-reexport/add/observable/of.ts | 1 - .../add/observable/onErrorResumeNext.ts | 1 - legacy-reexport/add/observable/pairs.ts | 1 - legacy-reexport/add/observable/race.ts | 1 - legacy-reexport/add/observable/range.ts | 1 - legacy-reexport/add/observable/throw.ts | 1 - legacy-reexport/add/observable/timer.ts | 1 - legacy-reexport/add/observable/using.ts | 1 - legacy-reexport/add/observable/zip.ts | 1 - legacy-reexport/add/operator/audit.ts | 1 - legacy-reexport/add/operator/auditTime.ts | 1 - legacy-reexport/add/operator/buffer.ts | 1 - legacy-reexport/add/operator/bufferCount.ts | 1 - legacy-reexport/add/operator/bufferTime.ts | 1 - legacy-reexport/add/operator/bufferToggle.ts | 1 - legacy-reexport/add/operator/bufferWhen.ts | 1 - legacy-reexport/add/operator/catch.ts | 1 - legacy-reexport/add/operator/combineAll.ts | 1 - legacy-reexport/add/operator/combineLatest.ts | 1 - legacy-reexport/add/operator/concat.ts | 1 - legacy-reexport/add/operator/concatAll.ts | 1 - legacy-reexport/add/operator/concatMap.ts | 1 - legacy-reexport/add/operator/concatMapTo.ts | 1 - legacy-reexport/add/operator/count.ts | 1 - legacy-reexport/add/operator/debounce.ts | 1 - legacy-reexport/add/operator/debounceTime.ts | 1 - .../add/operator/defaultIfEmpty.ts | 1 - legacy-reexport/add/operator/delay.ts | 1 - legacy-reexport/add/operator/delayWhen.ts | 1 - legacy-reexport/add/operator/dematerialize.ts | 1 - legacy-reexport/add/operator/distinct.ts | 1 - .../add/operator/distinctUntilChanged.ts | 1 - .../add/operator/distinctUntilKeyChanged.ts | 1 - legacy-reexport/add/operator/do.ts | 1 - legacy-reexport/add/operator/elementAt.ts | 1 - legacy-reexport/add/operator/every.ts | 1 - legacy-reexport/add/operator/exhaust.ts | 1 - legacy-reexport/add/operator/exhaustMap.ts | 1 - legacy-reexport/add/operator/expand.ts | 1 - legacy-reexport/add/operator/filter.ts | 1 - legacy-reexport/add/operator/finally.ts | 1 - legacy-reexport/add/operator/find.ts | 1 - legacy-reexport/add/operator/findIndex.ts | 1 - legacy-reexport/add/operator/first.ts | 1 - legacy-reexport/add/operator/groupBy.ts | 1 - .../add/operator/ignoreElements.ts | 1 - legacy-reexport/add/operator/isEmpty.ts | 1 - legacy-reexport/add/operator/last.ts | 1 - legacy-reexport/add/operator/let.ts | 1 - legacy-reexport/add/operator/map.ts | 1 - legacy-reexport/add/operator/mapTo.ts | 1 - legacy-reexport/add/operator/materialize.ts | 1 - legacy-reexport/add/operator/max.ts | 1 - legacy-reexport/add/operator/merge.ts | 1 - legacy-reexport/add/operator/mergeAll.ts | 1 - legacy-reexport/add/operator/mergeMap.ts | 1 - legacy-reexport/add/operator/mergeMapTo.ts | 1 - legacy-reexport/add/operator/mergeScan.ts | 1 - legacy-reexport/add/operator/min.ts | 1 - legacy-reexport/add/operator/multicast.ts | 1 - legacy-reexport/add/operator/observeOn.ts | 1 - .../add/operator/onErrorResumeNext.ts | 1 - legacy-reexport/add/operator/pairwise.ts | 1 - legacy-reexport/add/operator/partition.ts | 1 - legacy-reexport/add/operator/pluck.ts | 1 - legacy-reexport/add/operator/publish.ts | 1 - .../add/operator/publishBehavior.ts | 1 - legacy-reexport/add/operator/publishLast.ts | 1 - legacy-reexport/add/operator/publishReplay.ts | 1 - legacy-reexport/add/operator/race.ts | 1 - legacy-reexport/add/operator/reduce.ts | 1 - legacy-reexport/add/operator/repeat.ts | 1 - legacy-reexport/add/operator/repeatWhen.ts | 1 - legacy-reexport/add/operator/retry.ts | 1 - legacy-reexport/add/operator/retryWhen.ts | 1 - legacy-reexport/add/operator/sample.ts | 1 - legacy-reexport/add/operator/sampleTime.ts | 1 - legacy-reexport/add/operator/scan.ts | 1 - legacy-reexport/add/operator/sequenceEqual.ts | 1 - legacy-reexport/add/operator/share.ts | 1 - legacy-reexport/add/operator/shareReplay.ts | 1 - legacy-reexport/add/operator/single.ts | 1 - legacy-reexport/add/operator/skip.ts | 1 - legacy-reexport/add/operator/skipLast.ts | 1 - legacy-reexport/add/operator/skipUntil.ts | 1 - legacy-reexport/add/operator/skipWhile.ts | 1 - legacy-reexport/add/operator/startWith.ts | 1 - legacy-reexport/add/operator/subscribeOn.ts | 1 - legacy-reexport/add/operator/switch.ts | 1 - legacy-reexport/add/operator/switchMap.ts | 1 - legacy-reexport/add/operator/switchMapTo.ts | 1 - legacy-reexport/add/operator/take.ts | 1 - legacy-reexport/add/operator/takeLast.ts | 1 - legacy-reexport/add/operator/takeUntil.ts | 1 - legacy-reexport/add/operator/takeWhile.ts | 1 - legacy-reexport/add/operator/throttle.ts | 1 - legacy-reexport/add/operator/throttleTime.ts | 1 - legacy-reexport/add/operator/timeInterval.ts | 1 - legacy-reexport/add/operator/timeout.ts | 1 - legacy-reexport/add/operator/timeoutWith.ts | 1 - legacy-reexport/add/operator/timestamp.ts | 1 - legacy-reexport/add/operator/toArray.ts | 1 - legacy-reexport/add/operator/toPromise.ts | 1 - legacy-reexport/add/operator/window.ts | 1 - legacy-reexport/add/operator/windowCount.ts | 1 - legacy-reexport/add/operator/windowTime.ts | 1 - legacy-reexport/add/operator/windowToggle.ts | 1 - legacy-reexport/add/operator/windowWhen.ts | 1 - .../add/operator/withLatestFrom.ts | 1 - legacy-reexport/add/operator/zip.ts | 1 - legacy-reexport/add/operator/zipAll.ts | 1 - legacy-reexport/interfaces.ts | 1 - .../observable/ArrayLikeObservable.ts | 1 - legacy-reexport/observable/ArrayObservable.ts | 1 - .../observable/BoundCallbackObservable.ts | 1 - .../observable/BoundNodeCallbackObservable.ts | 1 - .../observable/ConnectableObservable.ts | 1 - legacy-reexport/observable/DeferObservable.ts | 1 - legacy-reexport/observable/EmptyObservable.ts | 1 - legacy-reexport/observable/ErrorObservable.ts | 1 - .../observable/ForkJoinObservable.ts | 1 - .../observable/FromEventObservable.ts | 1 - .../observable/FromEventPatternObservable.ts | 1 - legacy-reexport/observable/FromObservable.ts | 1 - .../observable/GenerateObservable.ts | 1 - legacy-reexport/observable/IfObservable.ts | 1 - .../observable/IntervalObservable.ts | 1 - .../observable/IteratorObservable.ts | 1 - legacy-reexport/observable/NeverObservable.ts | 1 - legacy-reexport/observable/PairsObservable.ts | 1 - .../observable/PromiseObservable.ts | 1 - legacy-reexport/observable/RangeObservable.ts | 1 - .../observable/ScalarObservable.ts | 1 - .../observable/SubscribeOnObservable.ts | 1 - legacy-reexport/observable/TimerObservable.ts | 1 - legacy-reexport/observable/UsingObservable.ts | 1 - legacy-reexport/observable/bindCallback.ts | 1 - .../observable/bindNodeCallback.ts | 1 - legacy-reexport/observable/combineLatest.ts | 1 - legacy-reexport/observable/concat.ts | 1 - legacy-reexport/observable/defer.ts | 1 - .../observable/dom/AjaxObservable.ts | 1 - .../observable/dom/WebSocketSubject.ts | 1 - legacy-reexport/observable/dom/ajax.ts | 1 - legacy-reexport/observable/dom/webSocket.ts | 1 - legacy-reexport/observable/empty.ts | 1 - legacy-reexport/observable/forkJoin.ts | 1 - legacy-reexport/observable/from.ts | 1 - legacy-reexport/observable/fromArray.ts | 1 - legacy-reexport/observable/fromEvent.ts | 1 - .../observable/fromEventPattern.ts | 1 - legacy-reexport/observable/fromIterable.ts | 1 - legacy-reexport/observable/fromPromise.ts | 1 - legacy-reexport/observable/generate.ts | 1 - legacy-reexport/observable/if.ts | 1 - legacy-reexport/observable/interval.ts | 1 - legacy-reexport/observable/merge.ts | 1 - legacy-reexport/observable/never.ts | 1 - legacy-reexport/observable/of.ts | 1 - .../observable/onErrorResumeNext.ts | 1 - legacy-reexport/observable/pairs.ts | 1 - legacy-reexport/observable/race.ts | 1 - legacy-reexport/observable/range.ts | 1 - legacy-reexport/observable/throw.ts | 1 - legacy-reexport/observable/timer.ts | 1 - legacy-reexport/observable/using.ts | 1 - legacy-reexport/observable/zip.ts | 1 - legacy-reexport/operator/audit.ts | 1 - legacy-reexport/operator/auditTime.ts | 1 - legacy-reexport/operator/buffer.ts | 1 - legacy-reexport/operator/bufferCount.ts | 1 - legacy-reexport/operator/bufferTime.ts | 1 - legacy-reexport/operator/bufferToggle.ts | 1 - legacy-reexport/operator/bufferWhen.ts | 1 - legacy-reexport/operator/catch.ts | 1 - legacy-reexport/operator/combineAll.ts | 1 - legacy-reexport/operator/combineLatest.ts | 1 - legacy-reexport/operator/concat.ts | 1 - legacy-reexport/operator/concatAll.ts | 1 - legacy-reexport/operator/concatMap.ts | 1 - legacy-reexport/operator/concatMapTo.ts | 1 - legacy-reexport/operator/count.ts | 1 - legacy-reexport/operator/debounce.ts | 1 - legacy-reexport/operator/debounceTime.ts | 1 - legacy-reexport/operator/defaultIfEmpty.ts | 1 - legacy-reexport/operator/delay.ts | 1 - legacy-reexport/operator/delayWhen.ts | 1 - legacy-reexport/operator/dematerialize.ts | 1 - legacy-reexport/operator/distinct.ts | 1 - .../operator/distinctUntilChanged.ts | 1 - .../operator/distinctUntilKeyChanged.ts | 1 - legacy-reexport/operator/do.ts | 1 - legacy-reexport/operator/elementAt.ts | 1 - legacy-reexport/operator/every.ts | 1 - legacy-reexport/operator/exhaust.ts | 1 - legacy-reexport/operator/exhaustMap.ts | 1 - legacy-reexport/operator/expand.ts | 1 - legacy-reexport/operator/filter.ts | 1 - legacy-reexport/operator/finally.ts | 1 - legacy-reexport/operator/find.ts | 1 - legacy-reexport/operator/findIndex.ts | 1 - legacy-reexport/operator/first.ts | 1 - legacy-reexport/operator/groupBy.ts | 1 - legacy-reexport/operator/ignoreElements.ts | 1 - legacy-reexport/operator/isEmpty.ts | 1 - legacy-reexport/operator/last.ts | 1 - legacy-reexport/operator/let.ts | 1 - legacy-reexport/operator/map.ts | 1 - legacy-reexport/operator/mapTo.ts | 1 - legacy-reexport/operator/materialize.ts | 1 - legacy-reexport/operator/max.ts | 1 - legacy-reexport/operator/merge.ts | 1 - legacy-reexport/operator/mergeAll.ts | 1 - legacy-reexport/operator/mergeMap.ts | 1 - legacy-reexport/operator/mergeMapTo.ts | 1 - legacy-reexport/operator/mergeScan.ts | 1 - legacy-reexport/operator/min.ts | 1 - legacy-reexport/operator/multicast.ts | 1 - legacy-reexport/operator/observeOn.ts | 1 - legacy-reexport/operator/onErrorResumeNext.ts | 1 - legacy-reexport/operator/pairwise.ts | 1 - legacy-reexport/operator/partition.ts | 1 - legacy-reexport/operator/pluck.ts | 1 - legacy-reexport/operator/publish.ts | 1 - legacy-reexport/operator/publishBehavior.ts | 1 - legacy-reexport/operator/publishLast.ts | 1 - legacy-reexport/operator/publishReplay.ts | 1 - legacy-reexport/operator/race.ts | 1 - legacy-reexport/operator/reduce.ts | 1 - legacy-reexport/operator/repeat.ts | 1 - legacy-reexport/operator/repeatWhen.ts | 1 - legacy-reexport/operator/retry.ts | 1 - legacy-reexport/operator/retryWhen.ts | 1 - legacy-reexport/operator/sample.ts | 1 - legacy-reexport/operator/sampleTime.ts | 1 - legacy-reexport/operator/scan.ts | 1 - legacy-reexport/operator/sequenceEqual.ts | 1 - legacy-reexport/operator/share.ts | 1 - legacy-reexport/operator/shareReplay.ts | 1 - legacy-reexport/operator/single.ts | 1 - legacy-reexport/operator/skip.ts | 1 - legacy-reexport/operator/skipLast.ts | 1 - legacy-reexport/operator/skipUntil.ts | 1 - legacy-reexport/operator/skipWhile.ts | 1 - legacy-reexport/operator/startWith.ts | 1 - legacy-reexport/operator/subscribeOn.ts | 1 - legacy-reexport/operator/switch.ts | 1 - legacy-reexport/operator/switchMap.ts | 1 - legacy-reexport/operator/switchMapTo.ts | 1 - legacy-reexport/operator/take.ts | 1 - legacy-reexport/operator/takeLast.ts | 1 - legacy-reexport/operator/takeUntil.ts | 1 - legacy-reexport/operator/takeWhile.ts | 1 - legacy-reexport/operator/throttle.ts | 1 - legacy-reexport/operator/throttleTime.ts | 1 - legacy-reexport/operator/timeInterval.ts | 1 - legacy-reexport/operator/timeout.ts | 1 - legacy-reexport/operator/timeoutWith.ts | 1 - legacy-reexport/operator/timestamp.ts | 1 - legacy-reexport/operator/toArray.ts | 1 - legacy-reexport/operator/toPromise.ts | 1 - legacy-reexport/operator/window.ts | 1 - legacy-reexport/operator/windowCount.ts | 1 - legacy-reexport/operator/windowTime.ts | 1 - legacy-reexport/operator/windowToggle.ts | 1 - legacy-reexport/operator/windowWhen.ts | 1 - legacy-reexport/operator/withLatestFrom.ts | 1 - legacy-reexport/operator/zip.ts | 1 - legacy-reexport/operator/zipAll.ts | 1 - legacy-reexport/operators/audit.ts | 1 - legacy-reexport/operators/auditTime.ts | 1 - legacy-reexport/operators/buffer.ts | 1 - legacy-reexport/operators/bufferCount.ts | 1 - legacy-reexport/operators/bufferTime.ts | 1 - legacy-reexport/operators/bufferToggle.ts | 1 - legacy-reexport/operators/bufferWhen.ts | 1 - legacy-reexport/operators/catchError.ts | 1 - legacy-reexport/operators/combineAll.ts | 1 - legacy-reexport/operators/combineLatest.ts | 1 - legacy-reexport/operators/concat.ts | 1 - legacy-reexport/operators/concatAll.ts | 1 - legacy-reexport/operators/concatMap.ts | 1 - legacy-reexport/operators/concatMapTo.ts | 1 - legacy-reexport/operators/count.ts | 1 - legacy-reexport/operators/debounce.ts | 1 - legacy-reexport/operators/debounceTime.ts | 1 - legacy-reexport/operators/defaultIfEmpty.ts | 1 - legacy-reexport/operators/delay.ts | 1 - legacy-reexport/operators/delayWhen.ts | 1 - legacy-reexport/operators/dematerialize.ts | 1 - legacy-reexport/operators/distinct.ts | 1 - .../operators/distinctUntilChanged.ts | 1 - .../operators/distinctUntilKeyChanged.ts | 1 - legacy-reexport/operators/elementAt.ts | 1 - legacy-reexport/operators/every.ts | 1 - legacy-reexport/operators/exhaust.ts | 1 - legacy-reexport/operators/exhaustMap.ts | 1 - legacy-reexport/operators/expand.ts | 1 - legacy-reexport/operators/filter.ts | 1 - legacy-reexport/operators/finalize.ts | 1 - legacy-reexport/operators/find.ts | 1 - legacy-reexport/operators/findIndex.ts | 1 - legacy-reexport/operators/first.ts | 1 - legacy-reexport/operators/groupBy.ts | 1 - legacy-reexport/operators/ignoreElements.ts | 1 - legacy-reexport/operators/isEmpty.ts | 1 - legacy-reexport/operators/last.ts | 1 - legacy-reexport/operators/map.ts | 1 - legacy-reexport/operators/mapTo.ts | 1 - legacy-reexport/operators/materialize.ts | 1 - legacy-reexport/operators/max.ts | 1 - legacy-reexport/operators/merge.ts | 1 - legacy-reexport/operators/mergeAll.ts | 1 - legacy-reexport/operators/mergeMap.ts | 1 - legacy-reexport/operators/mergeMapTo.ts | 1 - legacy-reexport/operators/mergeScan.ts | 1 - legacy-reexport/operators/min.ts | 1 - legacy-reexport/operators/multicast.ts | 1 - legacy-reexport/operators/observeOn.ts | 1 - .../operators/onErrorResumeNext.ts | 1 - legacy-reexport/operators/pairwise.ts | 1 - legacy-reexport/operators/partition.ts | 1 - legacy-reexport/operators/pluck.ts | 1 - legacy-reexport/operators/publish.ts | 1 - legacy-reexport/operators/publishBehavior.ts | 1 - legacy-reexport/operators/publishLast.ts | 1 - legacy-reexport/operators/publishReplay.ts | 1 - legacy-reexport/operators/race.ts | 1 - legacy-reexport/operators/reduce.ts | 1 - legacy-reexport/operators/refCount.ts | 1 - legacy-reexport/operators/repeat.ts | 1 - legacy-reexport/operators/repeatWhen.ts | 1 - legacy-reexport/operators/retry.ts | 1 - legacy-reexport/operators/retryWhen.ts | 1 - legacy-reexport/operators/sample.ts | 1 - legacy-reexport/operators/sampleTime.ts | 1 - legacy-reexport/operators/scan.ts | 1 - legacy-reexport/operators/sequenceEqual.ts | 1 - legacy-reexport/operators/share.ts | 1 - legacy-reexport/operators/shareReplay.ts | 1 - legacy-reexport/operators/single.ts | 1 - legacy-reexport/operators/skip.ts | 1 - legacy-reexport/operators/skipLast.ts | 1 - legacy-reexport/operators/skipUntil.ts | 1 - legacy-reexport/operators/skipWhile.ts | 1 - legacy-reexport/operators/startWith.ts | 1 - legacy-reexport/operators/subscribeOn.ts | 1 - legacy-reexport/operators/switchAll.ts | 1 - legacy-reexport/operators/switchMap.ts | 1 - legacy-reexport/operators/switchMapTo.ts | 1 - legacy-reexport/operators/take.ts | 1 - legacy-reexport/operators/takeLast.ts | 1 - legacy-reexport/operators/takeUntil.ts | 1 - legacy-reexport/operators/takeWhile.ts | 1 - legacy-reexport/operators/tap.ts | 1 - legacy-reexport/operators/throttle.ts | 1 - legacy-reexport/operators/throttleTime.ts | 1 - legacy-reexport/operators/throwIfEmpty.ts | 1 - legacy-reexport/operators/timeInterval.ts | 1 - legacy-reexport/operators/timeout.ts | 1 - legacy-reexport/operators/timeoutWith.ts | 1 - legacy-reexport/operators/timestamp.ts | 1 - legacy-reexport/operators/toArray.ts | 1 - legacy-reexport/operators/window.ts | 1 - legacy-reexport/operators/windowCount.ts | 1 - legacy-reexport/operators/windowTime.ts | 1 - legacy-reexport/operators/windowToggle.ts | 1 - legacy-reexport/operators/windowWhen.ts | 1 - legacy-reexport/operators/withLatestFrom.ts | 1 - legacy-reexport/operators/zip.ts | 1 - legacy-reexport/operators/zipAll.ts | 1 - legacy-reexport/scheduler/animationFrame.ts | 1 - legacy-reexport/scheduler/asap.ts | 1 - legacy-reexport/scheduler/async.ts | 1 - legacy-reexport/scheduler/queue.ts | 1 - legacy-reexport/symbol/iterator.ts | 1 - legacy-reexport/symbol/observable.ts | 1 - legacy-reexport/symbol/rxSubscriber.ts | 1 - .../util/ArgumentOutOfRangeError.ts | 1 - legacy-reexport/util/EmptyError.ts | 1 - legacy-reexport/util/Immediate.ts | 1 - .../util/ObjectUnsubscribedError.ts | 1 - legacy-reexport/util/TimeoutError.ts | 1 - legacy-reexport/util/UnsubscriptionError.ts | 1 - legacy-reexport/util/applyMixins.ts | 1 - legacy-reexport/util/errorObject.ts | 1 - legacy-reexport/util/hostReportError.ts | 1 - legacy-reexport/util/identity.ts | 1 - legacy-reexport/util/isArray.ts | 1 - legacy-reexport/util/isArrayLike.ts | 1 - legacy-reexport/util/isDate.ts | 1 - legacy-reexport/util/isFunction.ts | 1 - legacy-reexport/util/isIterable.ts | 1 - legacy-reexport/util/isNumeric.ts | 1 - legacy-reexport/util/isObject.ts | 1 - legacy-reexport/util/isObservable.ts | 1 - legacy-reexport/util/isPromise.ts | 1 - legacy-reexport/util/isScheduler.ts | 1 - legacy-reexport/util/noop.ts | 1 - legacy-reexport/util/not.ts | 1 - legacy-reexport/util/pipe.ts | 1 - legacy-reexport/util/root.ts | 1 - legacy-reexport/util/subscribeTo.ts | 1 - legacy-reexport/util/subscribeToArray.ts | 1 - legacy-reexport/util/subscribeToIterable.ts | 1 - legacy-reexport/util/subscribeToObservable.ts | 1 - legacy-reexport/util/subscribeToPromise.ts | 1 - legacy-reexport/util/subscribeToResult.ts | 1 - legacy-reexport/util/toSubscriber.ts | 1 - legacy-reexport/util/tryCatch.ts | 1 - migrations/collection.json | 9 - migrations/update-6_0_0/index.ts | 31 --- package.json | 37 +-- spec/migration/update-6_0_0/index-spec.ts | 23 -- spec/observables/IteratorObservable-spec.ts | 3 +- .../observables/SubscribeOnObservable-spec.ts | 2 +- spec/observables/range-spec.ts | 4 +- spec/util/Immediate-spec.ts | 2 +- spec/util/isPromise-spec.ts | 2 +- spec/util/toSubscriber-spec.ts | 2 +- src/internal-compatibility/index.ts | 64 ----- src/internal-compatibility/package.json | 8 - src/internal/Rx.ts | 228 ------------------ tools/make-closure-compat.js | 3 - tools/make-umd-compat-bundle.js | 15 -- tsconfig.json | 15 +- tsconfig/compat/tsconfig.base.json | 20 -- tsconfig/compat/tsconfig.cjs.json | 11 - tsconfig/compat/tsconfig.esm2015.json | 8 - tsconfig/compat/tsconfig.esm5.json | 8 - tsconfig/compat/tsconfig.esm5.rollup.json | 7 - tsconfig/tsconfig.base.json | 4 - tsconfig/tsconfig.legacy-reexport.json | 29 --- tsconfig/tsconfig.migrations.json | 11 - tslint.json | 3 +- wallaby.js | 93 ++++--- 921 files changed, 71 insertions(+), 7659 deletions(-) delete mode 100644 .make-compat-package.js delete mode 100644 compat/AsyncSubject.ts delete mode 100644 compat/BehaviorSubject.ts delete mode 100644 compat/InnerSubscriber.ts delete mode 100644 compat/Notification.ts delete mode 100644 compat/Observable.ts delete mode 100644 compat/Observer.ts delete mode 100644 compat/Operator.ts delete mode 100644 compat/OuterSubscriber.ts delete mode 100644 compat/README.md delete mode 100644 compat/ReplaySubject.ts delete mode 100644 compat/Rx.ts delete mode 100644 compat/Scheduler.ts delete mode 100644 compat/Subject.ts delete mode 100644 compat/SubjectSubscription.ts delete mode 100644 compat/Subscriber.ts delete mode 100644 compat/Subscription.ts delete mode 100644 compat/add/observable/bindCallback.ts delete mode 100644 compat/add/observable/bindNodeCallback.ts delete mode 100644 compat/add/observable/combineLatest.ts delete mode 100644 compat/add/observable/concat.ts delete mode 100644 compat/add/observable/defer.ts delete mode 100644 compat/add/observable/dom/ajax.ts delete mode 100644 compat/add/observable/dom/webSocket.ts delete mode 100644 compat/add/observable/empty.ts delete mode 100644 compat/add/observable/forkJoin.ts delete mode 100644 compat/add/observable/from.ts delete mode 100644 compat/add/observable/fromEvent.ts delete mode 100644 compat/add/observable/fromEventPattern.ts delete mode 100644 compat/add/observable/fromPromise.ts delete mode 100644 compat/add/observable/generate.ts delete mode 100644 compat/add/observable/if.ts delete mode 100644 compat/add/observable/interval.ts delete mode 100644 compat/add/observable/merge.ts delete mode 100644 compat/add/observable/never.ts delete mode 100644 compat/add/observable/of.ts delete mode 100644 compat/add/observable/onErrorResumeNext.ts delete mode 100644 compat/add/observable/pairs.ts delete mode 100644 compat/add/observable/race.ts delete mode 100644 compat/add/observable/range.ts delete mode 100644 compat/add/observable/throw.ts delete mode 100644 compat/add/observable/timer.ts delete mode 100644 compat/add/observable/using.ts delete mode 100644 compat/add/observable/zip.ts delete mode 100644 compat/add/operator/audit.ts delete mode 100644 compat/add/operator/auditTime.ts delete mode 100644 compat/add/operator/buffer.ts delete mode 100644 compat/add/operator/bufferCount.ts delete mode 100644 compat/add/operator/bufferTime.ts delete mode 100644 compat/add/operator/bufferToggle.ts delete mode 100644 compat/add/operator/bufferWhen.ts delete mode 100644 compat/add/operator/catch.ts delete mode 100644 compat/add/operator/combineAll.ts delete mode 100644 compat/add/operator/combineLatest.ts delete mode 100644 compat/add/operator/concat.ts delete mode 100644 compat/add/operator/concatAll.ts delete mode 100644 compat/add/operator/concatMap.ts delete mode 100644 compat/add/operator/concatMapTo.ts delete mode 100644 compat/add/operator/count.ts delete mode 100644 compat/add/operator/debounce.ts delete mode 100644 compat/add/operator/debounceTime.ts delete mode 100644 compat/add/operator/defaultIfEmpty.ts delete mode 100644 compat/add/operator/delay.ts delete mode 100644 compat/add/operator/delayWhen.ts delete mode 100644 compat/add/operator/dematerialize.ts delete mode 100644 compat/add/operator/distinct.ts delete mode 100644 compat/add/operator/distinctUntilChanged.ts delete mode 100644 compat/add/operator/distinctUntilKeyChanged.ts delete mode 100644 compat/add/operator/do.ts delete mode 100644 compat/add/operator/elementAt.ts delete mode 100644 compat/add/operator/every.ts delete mode 100644 compat/add/operator/exhaust.ts delete mode 100644 compat/add/operator/exhaustMap.ts delete mode 100644 compat/add/operator/expand.ts delete mode 100644 compat/add/operator/filter.ts delete mode 100644 compat/add/operator/finally.ts delete mode 100644 compat/add/operator/find.ts delete mode 100644 compat/add/operator/findIndex.ts delete mode 100644 compat/add/operator/first.ts delete mode 100644 compat/add/operator/groupBy.ts delete mode 100644 compat/add/operator/ignoreElements.ts delete mode 100644 compat/add/operator/isEmpty.ts delete mode 100644 compat/add/operator/last.ts delete mode 100644 compat/add/operator/let.ts delete mode 100644 compat/add/operator/map.ts delete mode 100644 compat/add/operator/mapTo.ts delete mode 100644 compat/add/operator/materialize.ts delete mode 100644 compat/add/operator/max.ts delete mode 100644 compat/add/operator/merge.ts delete mode 100644 compat/add/operator/mergeAll.ts delete mode 100644 compat/add/operator/mergeMap.ts delete mode 100644 compat/add/operator/mergeMapTo.ts delete mode 100644 compat/add/operator/mergeScan.ts delete mode 100644 compat/add/operator/min.ts delete mode 100644 compat/add/operator/multicast.ts delete mode 100644 compat/add/operator/observeOn.ts delete mode 100644 compat/add/operator/onErrorResumeNext.ts delete mode 100644 compat/add/operator/pairwise.ts delete mode 100644 compat/add/operator/partition.ts delete mode 100644 compat/add/operator/pluck.ts delete mode 100644 compat/add/operator/publish.ts delete mode 100644 compat/add/operator/publishBehavior.ts delete mode 100644 compat/add/operator/publishLast.ts delete mode 100644 compat/add/operator/publishReplay.ts delete mode 100644 compat/add/operator/race.ts delete mode 100644 compat/add/operator/reduce.ts delete mode 100644 compat/add/operator/repeat.ts delete mode 100644 compat/add/operator/repeatWhen.ts delete mode 100644 compat/add/operator/retry.ts delete mode 100644 compat/add/operator/retryWhen.ts delete mode 100644 compat/add/operator/sample.ts delete mode 100644 compat/add/operator/sampleTime.ts delete mode 100644 compat/add/operator/scan.ts delete mode 100644 compat/add/operator/sequenceEqual.ts delete mode 100644 compat/add/operator/share.ts delete mode 100644 compat/add/operator/shareReplay.ts delete mode 100644 compat/add/operator/single.ts delete mode 100644 compat/add/operator/skip.ts delete mode 100644 compat/add/operator/skipLast.ts delete mode 100644 compat/add/operator/skipUntil.ts delete mode 100644 compat/add/operator/skipWhile.ts delete mode 100644 compat/add/operator/startWith.ts delete mode 100644 compat/add/operator/subscribeOn.ts delete mode 100644 compat/add/operator/switch.ts delete mode 100644 compat/add/operator/switchMap.ts delete mode 100644 compat/add/operator/switchMapTo.ts delete mode 100644 compat/add/operator/take.ts delete mode 100644 compat/add/operator/takeLast.ts delete mode 100644 compat/add/operator/takeUntil.ts delete mode 100644 compat/add/operator/takeWhile.ts delete mode 100644 compat/add/operator/throttle.ts delete mode 100644 compat/add/operator/throttleTime.ts delete mode 100644 compat/add/operator/timeInterval.ts delete mode 100644 compat/add/operator/timeout.ts delete mode 100644 compat/add/operator/timeoutWith.ts delete mode 100644 compat/add/operator/timestamp.ts delete mode 100644 compat/add/operator/toArray.ts delete mode 100644 compat/add/operator/toPromise.ts delete mode 100644 compat/add/operator/window.ts delete mode 100644 compat/add/operator/windowCount.ts delete mode 100644 compat/add/operator/windowTime.ts delete mode 100644 compat/add/operator/windowToggle.ts delete mode 100644 compat/add/operator/windowWhen.ts delete mode 100644 compat/add/operator/withLatestFrom.ts delete mode 100644 compat/add/operator/zip.ts delete mode 100644 compat/add/operator/zipAll.ts delete mode 100644 compat/index.ts delete mode 100644 compat/interfaces.ts delete mode 100644 compat/observable/ArrayLikeObservable.ts delete mode 100644 compat/observable/ArrayObservable.ts delete mode 100644 compat/observable/BoundCallbackObservable.ts delete mode 100644 compat/observable/BoundNodeCallbackObservable.ts delete mode 100644 compat/observable/ConnectableObservable.ts delete mode 100644 compat/observable/DeferObservable.ts delete mode 100644 compat/observable/EmptyObservable.ts delete mode 100644 compat/observable/ErrorObservable.ts delete mode 100644 compat/observable/ForkJoinObservable.ts delete mode 100644 compat/observable/FromEventObservable.ts delete mode 100644 compat/observable/FromEventPatternObservable.ts delete mode 100644 compat/observable/FromObservable.ts delete mode 100644 compat/observable/GenerateObservable.ts delete mode 100644 compat/observable/IfObservable.ts delete mode 100644 compat/observable/IntervalObservable.ts delete mode 100644 compat/observable/IteratorObservable.ts delete mode 100644 compat/observable/NeverObservable.ts delete mode 100644 compat/observable/PairsObservable.ts delete mode 100644 compat/observable/PromiseObservable.ts delete mode 100644 compat/observable/RangeObservable.ts delete mode 100644 compat/observable/ScalarObservable.ts delete mode 100644 compat/observable/SubscribeOnObservable.ts delete mode 100644 compat/observable/TimerObservable.ts delete mode 100644 compat/observable/UsingObservable.ts delete mode 100644 compat/observable/bindCallback.ts delete mode 100644 compat/observable/bindNodeCallback.ts delete mode 100644 compat/observable/combineLatest.ts delete mode 100644 compat/observable/concat.ts delete mode 100644 compat/observable/defer.ts delete mode 100644 compat/observable/dom/AjaxObservable.ts delete mode 100644 compat/observable/dom/WebSocketSubject.ts delete mode 100644 compat/observable/dom/ajax.ts delete mode 100644 compat/observable/dom/webSocket.ts delete mode 100644 compat/observable/empty.ts delete mode 100644 compat/observable/forkJoin.ts delete mode 100644 compat/observable/from.ts delete mode 100644 compat/observable/fromArray.ts delete mode 100644 compat/observable/fromEvent.ts delete mode 100644 compat/observable/fromEventPattern.ts delete mode 100644 compat/observable/fromIterable.ts delete mode 100644 compat/observable/fromPromise.ts delete mode 100644 compat/observable/generate.ts delete mode 100644 compat/observable/if.ts delete mode 100644 compat/observable/interval.ts delete mode 100644 compat/observable/merge.ts delete mode 100644 compat/observable/never.ts delete mode 100644 compat/observable/of.ts delete mode 100644 compat/observable/onErrorResumeNext.ts delete mode 100644 compat/observable/pairs.ts delete mode 100644 compat/observable/race.ts delete mode 100644 compat/observable/range.ts delete mode 100644 compat/observable/throw.ts delete mode 100644 compat/observable/timer.ts delete mode 100644 compat/observable/using.ts delete mode 100644 compat/observable/zip.ts delete mode 100644 compat/operator/audit.ts delete mode 100644 compat/operator/auditTime.ts delete mode 100644 compat/operator/buffer.ts delete mode 100644 compat/operator/bufferCount.ts delete mode 100644 compat/operator/bufferTime.ts delete mode 100644 compat/operator/bufferToggle.ts delete mode 100644 compat/operator/bufferWhen.ts delete mode 100644 compat/operator/catch.ts delete mode 100644 compat/operator/combineAll.ts delete mode 100644 compat/operator/combineLatest.ts delete mode 100644 compat/operator/concat.ts delete mode 100644 compat/operator/concatAll.ts delete mode 100644 compat/operator/concatMap.ts delete mode 100644 compat/operator/concatMapTo.ts delete mode 100644 compat/operator/count.ts delete mode 100644 compat/operator/debounce.ts delete mode 100644 compat/operator/debounceTime.ts delete mode 100644 compat/operator/defaultIfEmpty.ts delete mode 100644 compat/operator/delay.ts delete mode 100644 compat/operator/delayWhen.ts delete mode 100644 compat/operator/dematerialize.ts delete mode 100644 compat/operator/distinct.ts delete mode 100644 compat/operator/distinctUntilChanged.ts delete mode 100644 compat/operator/distinctUntilKeyChanged.ts delete mode 100644 compat/operator/do.ts delete mode 100644 compat/operator/elementAt.ts delete mode 100644 compat/operator/every.ts delete mode 100644 compat/operator/exhaust.ts delete mode 100644 compat/operator/exhaustMap.ts delete mode 100644 compat/operator/expand.ts delete mode 100644 compat/operator/filter.ts delete mode 100644 compat/operator/finally.ts delete mode 100644 compat/operator/find.ts delete mode 100644 compat/operator/findIndex.ts delete mode 100644 compat/operator/first.ts delete mode 100644 compat/operator/groupBy.ts delete mode 100644 compat/operator/ignoreElements.ts delete mode 100644 compat/operator/isEmpty.ts delete mode 100644 compat/operator/last.ts delete mode 100644 compat/operator/let.ts delete mode 100644 compat/operator/map.ts delete mode 100644 compat/operator/mapTo.ts delete mode 100644 compat/operator/materialize.ts delete mode 100644 compat/operator/max.ts delete mode 100644 compat/operator/merge.ts delete mode 100644 compat/operator/mergeAll.ts delete mode 100644 compat/operator/mergeMap.ts delete mode 100644 compat/operator/mergeMapTo.ts delete mode 100644 compat/operator/mergeScan.ts delete mode 100644 compat/operator/min.ts delete mode 100644 compat/operator/multicast.ts delete mode 100644 compat/operator/observeOn.ts delete mode 100644 compat/operator/onErrorResumeNext.ts delete mode 100644 compat/operator/pairwise.ts delete mode 100644 compat/operator/partition.ts delete mode 100644 compat/operator/pluck.ts delete mode 100644 compat/operator/publish.ts delete mode 100644 compat/operator/publishBehavior.ts delete mode 100644 compat/operator/publishLast.ts delete mode 100644 compat/operator/publishReplay.ts delete mode 100644 compat/operator/race.ts delete mode 100644 compat/operator/reduce.ts delete mode 100644 compat/operator/repeat.ts delete mode 100644 compat/operator/repeatWhen.ts delete mode 100644 compat/operator/retry.ts delete mode 100644 compat/operator/retryWhen.ts delete mode 100644 compat/operator/sample.ts delete mode 100644 compat/operator/sampleTime.ts delete mode 100644 compat/operator/scan.ts delete mode 100644 compat/operator/sequenceEqual.ts delete mode 100644 compat/operator/share.ts delete mode 100644 compat/operator/shareReplay.ts delete mode 100644 compat/operator/single.ts delete mode 100644 compat/operator/skip.ts delete mode 100644 compat/operator/skipLast.ts delete mode 100644 compat/operator/skipUntil.ts delete mode 100644 compat/operator/skipWhile.ts delete mode 100644 compat/operator/startWith.ts delete mode 100644 compat/operator/subscribeOn.ts delete mode 100644 compat/operator/switch.ts delete mode 100644 compat/operator/switchMap.ts delete mode 100644 compat/operator/switchMapTo.ts delete mode 100644 compat/operator/take.ts delete mode 100644 compat/operator/takeLast.ts delete mode 100644 compat/operator/takeUntil.ts delete mode 100644 compat/operator/takeWhile.ts delete mode 100644 compat/operator/throttle.ts delete mode 100644 compat/operator/throttleTime.ts delete mode 100644 compat/operator/timeInterval.ts delete mode 100644 compat/operator/timeout.ts delete mode 100644 compat/operator/timeoutWith.ts delete mode 100644 compat/operator/timestamp.ts delete mode 100644 compat/operator/toArray.ts delete mode 100644 compat/operator/toPromise.ts delete mode 100644 compat/operator/window.ts delete mode 100644 compat/operator/windowCount.ts delete mode 100644 compat/operator/windowTime.ts delete mode 100644 compat/operator/windowToggle.ts delete mode 100644 compat/operator/windowWhen.ts delete mode 100644 compat/operator/withLatestFrom.ts delete mode 100644 compat/operator/zip.ts delete mode 100644 compat/operator/zipAll.ts delete mode 100644 compat/operators/audit.ts delete mode 100644 compat/operators/auditTime.ts delete mode 100644 compat/operators/buffer.ts delete mode 100644 compat/operators/bufferCount.ts delete mode 100644 compat/operators/bufferTime.ts delete mode 100644 compat/operators/bufferToggle.ts delete mode 100644 compat/operators/bufferWhen.ts delete mode 100644 compat/operators/catchError.ts delete mode 100644 compat/operators/combineAll.ts delete mode 100644 compat/operators/combineLatest.ts delete mode 100644 compat/operators/concat.ts delete mode 100644 compat/operators/concatAll.ts delete mode 100644 compat/operators/concatMap.ts delete mode 100644 compat/operators/concatMapTo.ts delete mode 100644 compat/operators/count.ts delete mode 100644 compat/operators/debounce.ts delete mode 100644 compat/operators/debounceTime.ts delete mode 100644 compat/operators/defaultIfEmpty.ts delete mode 100644 compat/operators/delay.ts delete mode 100644 compat/operators/delayWhen.ts delete mode 100644 compat/operators/dematerialize.ts delete mode 100644 compat/operators/distinct.ts delete mode 100644 compat/operators/distinctUntilChanged.ts delete mode 100644 compat/operators/distinctUntilKeyChanged.ts delete mode 100644 compat/operators/elementAt.ts delete mode 100644 compat/operators/every.ts delete mode 100644 compat/operators/exhaust.ts delete mode 100644 compat/operators/exhaustMap.ts delete mode 100644 compat/operators/expand.ts delete mode 100644 compat/operators/filter.ts delete mode 100644 compat/operators/finalize.ts delete mode 100644 compat/operators/find.ts delete mode 100644 compat/operators/findIndex.ts delete mode 100644 compat/operators/first.ts delete mode 100644 compat/operators/groupBy.ts delete mode 100644 compat/operators/ignoreElements.ts delete mode 100644 compat/operators/isEmpty.ts delete mode 100644 compat/operators/last.ts delete mode 100644 compat/operators/map.ts delete mode 100644 compat/operators/mapTo.ts delete mode 100644 compat/operators/materialize.ts delete mode 100644 compat/operators/max.ts delete mode 100644 compat/operators/merge.ts delete mode 100644 compat/operators/mergeAll.ts delete mode 100644 compat/operators/mergeMap.ts delete mode 100644 compat/operators/mergeMapTo.ts delete mode 100644 compat/operators/mergeScan.ts delete mode 100644 compat/operators/min.ts delete mode 100644 compat/operators/multicast.ts delete mode 100644 compat/operators/observeOn.ts delete mode 100644 compat/operators/onErrorResumeNext.ts delete mode 100644 compat/operators/pairwise.ts delete mode 100644 compat/operators/partition.ts delete mode 100644 compat/operators/pluck.ts delete mode 100644 compat/operators/publish.ts delete mode 100644 compat/operators/publishBehavior.ts delete mode 100644 compat/operators/publishLast.ts delete mode 100644 compat/operators/publishReplay.ts delete mode 100644 compat/operators/race.ts delete mode 100644 compat/operators/reduce.ts delete mode 100644 compat/operators/refCount.ts delete mode 100644 compat/operators/repeat.ts delete mode 100644 compat/operators/repeatWhen.ts delete mode 100644 compat/operators/retry.ts delete mode 100644 compat/operators/retryWhen.ts delete mode 100644 compat/operators/sample.ts delete mode 100644 compat/operators/sampleTime.ts delete mode 100644 compat/operators/scan.ts delete mode 100644 compat/operators/sequenceEqual.ts delete mode 100644 compat/operators/share.ts delete mode 100644 compat/operators/shareReplay.ts delete mode 100644 compat/operators/single.ts delete mode 100644 compat/operators/skip.ts delete mode 100644 compat/operators/skipLast.ts delete mode 100644 compat/operators/skipUntil.ts delete mode 100644 compat/operators/skipWhile.ts delete mode 100644 compat/operators/startWith.ts delete mode 100644 compat/operators/subscribeOn.ts delete mode 100644 compat/operators/switchAll.ts delete mode 100644 compat/operators/switchMap.ts delete mode 100644 compat/operators/switchMapTo.ts delete mode 100644 compat/operators/take.ts delete mode 100644 compat/operators/takeLast.ts delete mode 100644 compat/operators/takeUntil.ts delete mode 100644 compat/operators/takeWhile.ts delete mode 100644 compat/operators/tap.ts delete mode 100644 compat/operators/throttle.ts delete mode 100644 compat/operators/throttleTime.ts delete mode 100644 compat/operators/throwIfEmpty.ts delete mode 100644 compat/operators/timeInterval.ts delete mode 100644 compat/operators/timeout.ts delete mode 100644 compat/operators/timeoutWith.ts delete mode 100644 compat/operators/timestamp.ts delete mode 100644 compat/operators/toArray.ts delete mode 100644 compat/operators/window.ts delete mode 100644 compat/operators/windowCount.ts delete mode 100644 compat/operators/windowTime.ts delete mode 100644 compat/operators/windowToggle.ts delete mode 100644 compat/operators/windowWhen.ts delete mode 100644 compat/operators/withLatestFrom.ts delete mode 100644 compat/operators/zip.ts delete mode 100644 compat/operators/zipAll.ts delete mode 100644 compat/package.json delete mode 100644 compat/scheduler/animationFrame.ts delete mode 100644 compat/scheduler/asap.ts delete mode 100644 compat/scheduler/async.ts delete mode 100644 compat/scheduler/queue.ts delete mode 100644 compat/symbol/iterator.ts delete mode 100644 compat/symbol/observable.ts delete mode 100644 compat/symbol/rxSubscriber.ts delete mode 100644 compat/umd.ts delete mode 100644 compat/util/ArgumentOutOfRangeError.ts delete mode 100644 compat/util/EmptyError.ts delete mode 100644 compat/util/Immediate.ts delete mode 100644 compat/util/ObjectUnsubscribedError.ts delete mode 100644 compat/util/TimeoutError.ts delete mode 100644 compat/util/UnsubscriptionError.ts delete mode 100644 compat/util/applyMixins.ts delete mode 100644 compat/util/errorObject.ts delete mode 100644 compat/util/hostReportError.ts delete mode 100644 compat/util/identity.ts delete mode 100644 compat/util/isArray.ts delete mode 100644 compat/util/isArrayLike.ts delete mode 100644 compat/util/isDate.ts delete mode 100644 compat/util/isFunction.ts delete mode 100644 compat/util/isIterable.ts delete mode 100644 compat/util/isNumeric.ts delete mode 100644 compat/util/isObject.ts delete mode 100644 compat/util/isObservable.ts delete mode 100644 compat/util/isPromise.ts delete mode 100644 compat/util/isScheduler.ts delete mode 100644 compat/util/noop.ts delete mode 100644 compat/util/not.ts delete mode 100644 compat/util/pipe.ts delete mode 100644 compat/util/root.ts delete mode 100644 compat/util/subscribeTo.ts delete mode 100644 compat/util/subscribeToArray.ts delete mode 100644 compat/util/subscribeToIterable.ts delete mode 100644 compat/util/subscribeToObservable.ts delete mode 100644 compat/util/subscribeToPromise.ts delete mode 100644 compat/util/subscribeToResult.ts delete mode 100644 compat/util/toSubscriber.ts delete mode 100644 compat/util/tryCatch.ts delete mode 100644 legacy-reexport/AsyncSubject.ts delete mode 100644 legacy-reexport/BehaviorSubject.ts delete mode 100644 legacy-reexport/InnerSubscriber.ts delete mode 100644 legacy-reexport/Notification.ts delete mode 100644 legacy-reexport/Observable.ts delete mode 100644 legacy-reexport/Observer.ts delete mode 100644 legacy-reexport/Operator.ts delete mode 100644 legacy-reexport/OuterSubscriber.ts delete mode 100644 legacy-reexport/ReplaySubject.ts delete mode 100644 legacy-reexport/Rx.ts delete mode 100644 legacy-reexport/Scheduler.ts delete mode 100644 legacy-reexport/Subject.ts delete mode 100644 legacy-reexport/SubjectSubscription.ts delete mode 100644 legacy-reexport/Subscriber.ts delete mode 100644 legacy-reexport/Subscription.ts delete mode 100644 legacy-reexport/add/observable/bindCallback.ts delete mode 100644 legacy-reexport/add/observable/bindNodeCallback.ts delete mode 100644 legacy-reexport/add/observable/combineLatest.ts delete mode 100644 legacy-reexport/add/observable/concat.ts delete mode 100644 legacy-reexport/add/observable/defer.ts delete mode 100644 legacy-reexport/add/observable/dom/ajax.ts delete mode 100644 legacy-reexport/add/observable/dom/webSocket.ts delete mode 100644 legacy-reexport/add/observable/empty.ts delete mode 100644 legacy-reexport/add/observable/forkJoin.ts delete mode 100644 legacy-reexport/add/observable/from.ts delete mode 100644 legacy-reexport/add/observable/fromEvent.ts delete mode 100644 legacy-reexport/add/observable/fromEventPattern.ts delete mode 100644 legacy-reexport/add/observable/fromPromise.ts delete mode 100644 legacy-reexport/add/observable/generate.ts delete mode 100644 legacy-reexport/add/observable/if.ts delete mode 100644 legacy-reexport/add/observable/interval.ts delete mode 100644 legacy-reexport/add/observable/merge.ts delete mode 100644 legacy-reexport/add/observable/never.ts delete mode 100644 legacy-reexport/add/observable/of.ts delete mode 100644 legacy-reexport/add/observable/onErrorResumeNext.ts delete mode 100644 legacy-reexport/add/observable/pairs.ts delete mode 100644 legacy-reexport/add/observable/race.ts delete mode 100644 legacy-reexport/add/observable/range.ts delete mode 100644 legacy-reexport/add/observable/throw.ts delete mode 100644 legacy-reexport/add/observable/timer.ts delete mode 100644 legacy-reexport/add/observable/using.ts delete mode 100644 legacy-reexport/add/observable/zip.ts delete mode 100644 legacy-reexport/add/operator/audit.ts delete mode 100644 legacy-reexport/add/operator/auditTime.ts delete mode 100644 legacy-reexport/add/operator/buffer.ts delete mode 100644 legacy-reexport/add/operator/bufferCount.ts delete mode 100644 legacy-reexport/add/operator/bufferTime.ts delete mode 100644 legacy-reexport/add/operator/bufferToggle.ts delete mode 100644 legacy-reexport/add/operator/bufferWhen.ts delete mode 100644 legacy-reexport/add/operator/catch.ts delete mode 100644 legacy-reexport/add/operator/combineAll.ts delete mode 100644 legacy-reexport/add/operator/combineLatest.ts delete mode 100644 legacy-reexport/add/operator/concat.ts delete mode 100644 legacy-reexport/add/operator/concatAll.ts delete mode 100644 legacy-reexport/add/operator/concatMap.ts delete mode 100644 legacy-reexport/add/operator/concatMapTo.ts delete mode 100644 legacy-reexport/add/operator/count.ts delete mode 100644 legacy-reexport/add/operator/debounce.ts delete mode 100644 legacy-reexport/add/operator/debounceTime.ts delete mode 100644 legacy-reexport/add/operator/defaultIfEmpty.ts delete mode 100644 legacy-reexport/add/operator/delay.ts delete mode 100644 legacy-reexport/add/operator/delayWhen.ts delete mode 100644 legacy-reexport/add/operator/dematerialize.ts delete mode 100644 legacy-reexport/add/operator/distinct.ts delete mode 100644 legacy-reexport/add/operator/distinctUntilChanged.ts delete mode 100644 legacy-reexport/add/operator/distinctUntilKeyChanged.ts delete mode 100644 legacy-reexport/add/operator/do.ts delete mode 100644 legacy-reexport/add/operator/elementAt.ts delete mode 100644 legacy-reexport/add/operator/every.ts delete mode 100644 legacy-reexport/add/operator/exhaust.ts delete mode 100644 legacy-reexport/add/operator/exhaustMap.ts delete mode 100644 legacy-reexport/add/operator/expand.ts delete mode 100644 legacy-reexport/add/operator/filter.ts delete mode 100644 legacy-reexport/add/operator/finally.ts delete mode 100644 legacy-reexport/add/operator/find.ts delete mode 100644 legacy-reexport/add/operator/findIndex.ts delete mode 100644 legacy-reexport/add/operator/first.ts delete mode 100644 legacy-reexport/add/operator/groupBy.ts delete mode 100644 legacy-reexport/add/operator/ignoreElements.ts delete mode 100644 legacy-reexport/add/operator/isEmpty.ts delete mode 100644 legacy-reexport/add/operator/last.ts delete mode 100644 legacy-reexport/add/operator/let.ts delete mode 100644 legacy-reexport/add/operator/map.ts delete mode 100644 legacy-reexport/add/operator/mapTo.ts delete mode 100644 legacy-reexport/add/operator/materialize.ts delete mode 100644 legacy-reexport/add/operator/max.ts delete mode 100644 legacy-reexport/add/operator/merge.ts delete mode 100644 legacy-reexport/add/operator/mergeAll.ts delete mode 100644 legacy-reexport/add/operator/mergeMap.ts delete mode 100644 legacy-reexport/add/operator/mergeMapTo.ts delete mode 100644 legacy-reexport/add/operator/mergeScan.ts delete mode 100644 legacy-reexport/add/operator/min.ts delete mode 100644 legacy-reexport/add/operator/multicast.ts delete mode 100644 legacy-reexport/add/operator/observeOn.ts delete mode 100644 legacy-reexport/add/operator/onErrorResumeNext.ts delete mode 100644 legacy-reexport/add/operator/pairwise.ts delete mode 100644 legacy-reexport/add/operator/partition.ts delete mode 100644 legacy-reexport/add/operator/pluck.ts delete mode 100644 legacy-reexport/add/operator/publish.ts delete mode 100644 legacy-reexport/add/operator/publishBehavior.ts delete mode 100644 legacy-reexport/add/operator/publishLast.ts delete mode 100644 legacy-reexport/add/operator/publishReplay.ts delete mode 100644 legacy-reexport/add/operator/race.ts delete mode 100644 legacy-reexport/add/operator/reduce.ts delete mode 100644 legacy-reexport/add/operator/repeat.ts delete mode 100644 legacy-reexport/add/operator/repeatWhen.ts delete mode 100644 legacy-reexport/add/operator/retry.ts delete mode 100644 legacy-reexport/add/operator/retryWhen.ts delete mode 100644 legacy-reexport/add/operator/sample.ts delete mode 100644 legacy-reexport/add/operator/sampleTime.ts delete mode 100644 legacy-reexport/add/operator/scan.ts delete mode 100644 legacy-reexport/add/operator/sequenceEqual.ts delete mode 100644 legacy-reexport/add/operator/share.ts delete mode 100644 legacy-reexport/add/operator/shareReplay.ts delete mode 100644 legacy-reexport/add/operator/single.ts delete mode 100644 legacy-reexport/add/operator/skip.ts delete mode 100644 legacy-reexport/add/operator/skipLast.ts delete mode 100644 legacy-reexport/add/operator/skipUntil.ts delete mode 100644 legacy-reexport/add/operator/skipWhile.ts delete mode 100644 legacy-reexport/add/operator/startWith.ts delete mode 100644 legacy-reexport/add/operator/subscribeOn.ts delete mode 100644 legacy-reexport/add/operator/switch.ts delete mode 100644 legacy-reexport/add/operator/switchMap.ts delete mode 100644 legacy-reexport/add/operator/switchMapTo.ts delete mode 100644 legacy-reexport/add/operator/take.ts delete mode 100644 legacy-reexport/add/operator/takeLast.ts delete mode 100644 legacy-reexport/add/operator/takeUntil.ts delete mode 100644 legacy-reexport/add/operator/takeWhile.ts delete mode 100644 legacy-reexport/add/operator/throttle.ts delete mode 100644 legacy-reexport/add/operator/throttleTime.ts delete mode 100644 legacy-reexport/add/operator/timeInterval.ts delete mode 100644 legacy-reexport/add/operator/timeout.ts delete mode 100644 legacy-reexport/add/operator/timeoutWith.ts delete mode 100644 legacy-reexport/add/operator/timestamp.ts delete mode 100644 legacy-reexport/add/operator/toArray.ts delete mode 100644 legacy-reexport/add/operator/toPromise.ts delete mode 100644 legacy-reexport/add/operator/window.ts delete mode 100644 legacy-reexport/add/operator/windowCount.ts delete mode 100644 legacy-reexport/add/operator/windowTime.ts delete mode 100644 legacy-reexport/add/operator/windowToggle.ts delete mode 100644 legacy-reexport/add/operator/windowWhen.ts delete mode 100644 legacy-reexport/add/operator/withLatestFrom.ts delete mode 100644 legacy-reexport/add/operator/zip.ts delete mode 100644 legacy-reexport/add/operator/zipAll.ts delete mode 100644 legacy-reexport/interfaces.ts delete mode 100644 legacy-reexport/observable/ArrayLikeObservable.ts delete mode 100644 legacy-reexport/observable/ArrayObservable.ts delete mode 100644 legacy-reexport/observable/BoundCallbackObservable.ts delete mode 100644 legacy-reexport/observable/BoundNodeCallbackObservable.ts delete mode 100644 legacy-reexport/observable/ConnectableObservable.ts delete mode 100644 legacy-reexport/observable/DeferObservable.ts delete mode 100644 legacy-reexport/observable/EmptyObservable.ts delete mode 100644 legacy-reexport/observable/ErrorObservable.ts delete mode 100644 legacy-reexport/observable/ForkJoinObservable.ts delete mode 100644 legacy-reexport/observable/FromEventObservable.ts delete mode 100644 legacy-reexport/observable/FromEventPatternObservable.ts delete mode 100644 legacy-reexport/observable/FromObservable.ts delete mode 100644 legacy-reexport/observable/GenerateObservable.ts delete mode 100644 legacy-reexport/observable/IfObservable.ts delete mode 100644 legacy-reexport/observable/IntervalObservable.ts delete mode 100644 legacy-reexport/observable/IteratorObservable.ts delete mode 100644 legacy-reexport/observable/NeverObservable.ts delete mode 100644 legacy-reexport/observable/PairsObservable.ts delete mode 100644 legacy-reexport/observable/PromiseObservable.ts delete mode 100644 legacy-reexport/observable/RangeObservable.ts delete mode 100644 legacy-reexport/observable/ScalarObservable.ts delete mode 100644 legacy-reexport/observable/SubscribeOnObservable.ts delete mode 100644 legacy-reexport/observable/TimerObservable.ts delete mode 100644 legacy-reexport/observable/UsingObservable.ts delete mode 100644 legacy-reexport/observable/bindCallback.ts delete mode 100644 legacy-reexport/observable/bindNodeCallback.ts delete mode 100644 legacy-reexport/observable/combineLatest.ts delete mode 100644 legacy-reexport/observable/concat.ts delete mode 100644 legacy-reexport/observable/defer.ts delete mode 100644 legacy-reexport/observable/dom/AjaxObservable.ts delete mode 100644 legacy-reexport/observable/dom/WebSocketSubject.ts delete mode 100644 legacy-reexport/observable/dom/ajax.ts delete mode 100644 legacy-reexport/observable/dom/webSocket.ts delete mode 100644 legacy-reexport/observable/empty.ts delete mode 100644 legacy-reexport/observable/forkJoin.ts delete mode 100644 legacy-reexport/observable/from.ts delete mode 100644 legacy-reexport/observable/fromArray.ts delete mode 100644 legacy-reexport/observable/fromEvent.ts delete mode 100644 legacy-reexport/observable/fromEventPattern.ts delete mode 100644 legacy-reexport/observable/fromIterable.ts delete mode 100644 legacy-reexport/observable/fromPromise.ts delete mode 100644 legacy-reexport/observable/generate.ts delete mode 100644 legacy-reexport/observable/if.ts delete mode 100644 legacy-reexport/observable/interval.ts delete mode 100644 legacy-reexport/observable/merge.ts delete mode 100644 legacy-reexport/observable/never.ts delete mode 100644 legacy-reexport/observable/of.ts delete mode 100644 legacy-reexport/observable/onErrorResumeNext.ts delete mode 100644 legacy-reexport/observable/pairs.ts delete mode 100644 legacy-reexport/observable/race.ts delete mode 100644 legacy-reexport/observable/range.ts delete mode 100644 legacy-reexport/observable/throw.ts delete mode 100644 legacy-reexport/observable/timer.ts delete mode 100644 legacy-reexport/observable/using.ts delete mode 100644 legacy-reexport/observable/zip.ts delete mode 100644 legacy-reexport/operator/audit.ts delete mode 100644 legacy-reexport/operator/auditTime.ts delete mode 100644 legacy-reexport/operator/buffer.ts delete mode 100644 legacy-reexport/operator/bufferCount.ts delete mode 100644 legacy-reexport/operator/bufferTime.ts delete mode 100644 legacy-reexport/operator/bufferToggle.ts delete mode 100644 legacy-reexport/operator/bufferWhen.ts delete mode 100644 legacy-reexport/operator/catch.ts delete mode 100644 legacy-reexport/operator/combineAll.ts delete mode 100644 legacy-reexport/operator/combineLatest.ts delete mode 100644 legacy-reexport/operator/concat.ts delete mode 100644 legacy-reexport/operator/concatAll.ts delete mode 100644 legacy-reexport/operator/concatMap.ts delete mode 100644 legacy-reexport/operator/concatMapTo.ts delete mode 100644 legacy-reexport/operator/count.ts delete mode 100644 legacy-reexport/operator/debounce.ts delete mode 100644 legacy-reexport/operator/debounceTime.ts delete mode 100644 legacy-reexport/operator/defaultIfEmpty.ts delete mode 100644 legacy-reexport/operator/delay.ts delete mode 100644 legacy-reexport/operator/delayWhen.ts delete mode 100644 legacy-reexport/operator/dematerialize.ts delete mode 100644 legacy-reexport/operator/distinct.ts delete mode 100644 legacy-reexport/operator/distinctUntilChanged.ts delete mode 100644 legacy-reexport/operator/distinctUntilKeyChanged.ts delete mode 100644 legacy-reexport/operator/do.ts delete mode 100644 legacy-reexport/operator/elementAt.ts delete mode 100644 legacy-reexport/operator/every.ts delete mode 100644 legacy-reexport/operator/exhaust.ts delete mode 100644 legacy-reexport/operator/exhaustMap.ts delete mode 100644 legacy-reexport/operator/expand.ts delete mode 100644 legacy-reexport/operator/filter.ts delete mode 100644 legacy-reexport/operator/finally.ts delete mode 100644 legacy-reexport/operator/find.ts delete mode 100644 legacy-reexport/operator/findIndex.ts delete mode 100644 legacy-reexport/operator/first.ts delete mode 100644 legacy-reexport/operator/groupBy.ts delete mode 100644 legacy-reexport/operator/ignoreElements.ts delete mode 100644 legacy-reexport/operator/isEmpty.ts delete mode 100644 legacy-reexport/operator/last.ts delete mode 100644 legacy-reexport/operator/let.ts delete mode 100644 legacy-reexport/operator/map.ts delete mode 100644 legacy-reexport/operator/mapTo.ts delete mode 100644 legacy-reexport/operator/materialize.ts delete mode 100644 legacy-reexport/operator/max.ts delete mode 100644 legacy-reexport/operator/merge.ts delete mode 100644 legacy-reexport/operator/mergeAll.ts delete mode 100644 legacy-reexport/operator/mergeMap.ts delete mode 100644 legacy-reexport/operator/mergeMapTo.ts delete mode 100644 legacy-reexport/operator/mergeScan.ts delete mode 100644 legacy-reexport/operator/min.ts delete mode 100644 legacy-reexport/operator/multicast.ts delete mode 100644 legacy-reexport/operator/observeOn.ts delete mode 100644 legacy-reexport/operator/onErrorResumeNext.ts delete mode 100644 legacy-reexport/operator/pairwise.ts delete mode 100644 legacy-reexport/operator/partition.ts delete mode 100644 legacy-reexport/operator/pluck.ts delete mode 100644 legacy-reexport/operator/publish.ts delete mode 100644 legacy-reexport/operator/publishBehavior.ts delete mode 100644 legacy-reexport/operator/publishLast.ts delete mode 100644 legacy-reexport/operator/publishReplay.ts delete mode 100644 legacy-reexport/operator/race.ts delete mode 100644 legacy-reexport/operator/reduce.ts delete mode 100644 legacy-reexport/operator/repeat.ts delete mode 100644 legacy-reexport/operator/repeatWhen.ts delete mode 100644 legacy-reexport/operator/retry.ts delete mode 100644 legacy-reexport/operator/retryWhen.ts delete mode 100644 legacy-reexport/operator/sample.ts delete mode 100644 legacy-reexport/operator/sampleTime.ts delete mode 100644 legacy-reexport/operator/scan.ts delete mode 100644 legacy-reexport/operator/sequenceEqual.ts delete mode 100644 legacy-reexport/operator/share.ts delete mode 100644 legacy-reexport/operator/shareReplay.ts delete mode 100644 legacy-reexport/operator/single.ts delete mode 100644 legacy-reexport/operator/skip.ts delete mode 100644 legacy-reexport/operator/skipLast.ts delete mode 100644 legacy-reexport/operator/skipUntil.ts delete mode 100644 legacy-reexport/operator/skipWhile.ts delete mode 100644 legacy-reexport/operator/startWith.ts delete mode 100644 legacy-reexport/operator/subscribeOn.ts delete mode 100644 legacy-reexport/operator/switch.ts delete mode 100644 legacy-reexport/operator/switchMap.ts delete mode 100644 legacy-reexport/operator/switchMapTo.ts delete mode 100644 legacy-reexport/operator/take.ts delete mode 100644 legacy-reexport/operator/takeLast.ts delete mode 100644 legacy-reexport/operator/takeUntil.ts delete mode 100644 legacy-reexport/operator/takeWhile.ts delete mode 100644 legacy-reexport/operator/throttle.ts delete mode 100644 legacy-reexport/operator/throttleTime.ts delete mode 100644 legacy-reexport/operator/timeInterval.ts delete mode 100644 legacy-reexport/operator/timeout.ts delete mode 100644 legacy-reexport/operator/timeoutWith.ts delete mode 100644 legacy-reexport/operator/timestamp.ts delete mode 100644 legacy-reexport/operator/toArray.ts delete mode 100644 legacy-reexport/operator/toPromise.ts delete mode 100644 legacy-reexport/operator/window.ts delete mode 100644 legacy-reexport/operator/windowCount.ts delete mode 100644 legacy-reexport/operator/windowTime.ts delete mode 100644 legacy-reexport/operator/windowToggle.ts delete mode 100644 legacy-reexport/operator/windowWhen.ts delete mode 100644 legacy-reexport/operator/withLatestFrom.ts delete mode 100644 legacy-reexport/operator/zip.ts delete mode 100644 legacy-reexport/operator/zipAll.ts delete mode 100644 legacy-reexport/operators/audit.ts delete mode 100644 legacy-reexport/operators/auditTime.ts delete mode 100644 legacy-reexport/operators/buffer.ts delete mode 100644 legacy-reexport/operators/bufferCount.ts delete mode 100644 legacy-reexport/operators/bufferTime.ts delete mode 100644 legacy-reexport/operators/bufferToggle.ts delete mode 100644 legacy-reexport/operators/bufferWhen.ts delete mode 100644 legacy-reexport/operators/catchError.ts delete mode 100644 legacy-reexport/operators/combineAll.ts delete mode 100644 legacy-reexport/operators/combineLatest.ts delete mode 100644 legacy-reexport/operators/concat.ts delete mode 100644 legacy-reexport/operators/concatAll.ts delete mode 100644 legacy-reexport/operators/concatMap.ts delete mode 100644 legacy-reexport/operators/concatMapTo.ts delete mode 100644 legacy-reexport/operators/count.ts delete mode 100644 legacy-reexport/operators/debounce.ts delete mode 100644 legacy-reexport/operators/debounceTime.ts delete mode 100644 legacy-reexport/operators/defaultIfEmpty.ts delete mode 100644 legacy-reexport/operators/delay.ts delete mode 100644 legacy-reexport/operators/delayWhen.ts delete mode 100644 legacy-reexport/operators/dematerialize.ts delete mode 100644 legacy-reexport/operators/distinct.ts delete mode 100644 legacy-reexport/operators/distinctUntilChanged.ts delete mode 100644 legacy-reexport/operators/distinctUntilKeyChanged.ts delete mode 100644 legacy-reexport/operators/elementAt.ts delete mode 100644 legacy-reexport/operators/every.ts delete mode 100644 legacy-reexport/operators/exhaust.ts delete mode 100644 legacy-reexport/operators/exhaustMap.ts delete mode 100644 legacy-reexport/operators/expand.ts delete mode 100644 legacy-reexport/operators/filter.ts delete mode 100644 legacy-reexport/operators/finalize.ts delete mode 100644 legacy-reexport/operators/find.ts delete mode 100644 legacy-reexport/operators/findIndex.ts delete mode 100644 legacy-reexport/operators/first.ts delete mode 100644 legacy-reexport/operators/groupBy.ts delete mode 100644 legacy-reexport/operators/ignoreElements.ts delete mode 100644 legacy-reexport/operators/isEmpty.ts delete mode 100644 legacy-reexport/operators/last.ts delete mode 100644 legacy-reexport/operators/map.ts delete mode 100644 legacy-reexport/operators/mapTo.ts delete mode 100644 legacy-reexport/operators/materialize.ts delete mode 100644 legacy-reexport/operators/max.ts delete mode 100644 legacy-reexport/operators/merge.ts delete mode 100644 legacy-reexport/operators/mergeAll.ts delete mode 100644 legacy-reexport/operators/mergeMap.ts delete mode 100644 legacy-reexport/operators/mergeMapTo.ts delete mode 100644 legacy-reexport/operators/mergeScan.ts delete mode 100644 legacy-reexport/operators/min.ts delete mode 100644 legacy-reexport/operators/multicast.ts delete mode 100644 legacy-reexport/operators/observeOn.ts delete mode 100644 legacy-reexport/operators/onErrorResumeNext.ts delete mode 100644 legacy-reexport/operators/pairwise.ts delete mode 100644 legacy-reexport/operators/partition.ts delete mode 100644 legacy-reexport/operators/pluck.ts delete mode 100644 legacy-reexport/operators/publish.ts delete mode 100644 legacy-reexport/operators/publishBehavior.ts delete mode 100644 legacy-reexport/operators/publishLast.ts delete mode 100644 legacy-reexport/operators/publishReplay.ts delete mode 100644 legacy-reexport/operators/race.ts delete mode 100644 legacy-reexport/operators/reduce.ts delete mode 100644 legacy-reexport/operators/refCount.ts delete mode 100644 legacy-reexport/operators/repeat.ts delete mode 100644 legacy-reexport/operators/repeatWhen.ts delete mode 100644 legacy-reexport/operators/retry.ts delete mode 100644 legacy-reexport/operators/retryWhen.ts delete mode 100644 legacy-reexport/operators/sample.ts delete mode 100644 legacy-reexport/operators/sampleTime.ts delete mode 100644 legacy-reexport/operators/scan.ts delete mode 100644 legacy-reexport/operators/sequenceEqual.ts delete mode 100644 legacy-reexport/operators/share.ts delete mode 100644 legacy-reexport/operators/shareReplay.ts delete mode 100644 legacy-reexport/operators/single.ts delete mode 100644 legacy-reexport/operators/skip.ts delete mode 100644 legacy-reexport/operators/skipLast.ts delete mode 100644 legacy-reexport/operators/skipUntil.ts delete mode 100644 legacy-reexport/operators/skipWhile.ts delete mode 100644 legacy-reexport/operators/startWith.ts delete mode 100644 legacy-reexport/operators/subscribeOn.ts delete mode 100644 legacy-reexport/operators/switchAll.ts delete mode 100644 legacy-reexport/operators/switchMap.ts delete mode 100644 legacy-reexport/operators/switchMapTo.ts delete mode 100644 legacy-reexport/operators/take.ts delete mode 100644 legacy-reexport/operators/takeLast.ts delete mode 100644 legacy-reexport/operators/takeUntil.ts delete mode 100644 legacy-reexport/operators/takeWhile.ts delete mode 100644 legacy-reexport/operators/tap.ts delete mode 100644 legacy-reexport/operators/throttle.ts delete mode 100644 legacy-reexport/operators/throttleTime.ts delete mode 100644 legacy-reexport/operators/throwIfEmpty.ts delete mode 100644 legacy-reexport/operators/timeInterval.ts delete mode 100644 legacy-reexport/operators/timeout.ts delete mode 100644 legacy-reexport/operators/timeoutWith.ts delete mode 100644 legacy-reexport/operators/timestamp.ts delete mode 100644 legacy-reexport/operators/toArray.ts delete mode 100644 legacy-reexport/operators/window.ts delete mode 100644 legacy-reexport/operators/windowCount.ts delete mode 100644 legacy-reexport/operators/windowTime.ts delete mode 100644 legacy-reexport/operators/windowToggle.ts delete mode 100644 legacy-reexport/operators/windowWhen.ts delete mode 100644 legacy-reexport/operators/withLatestFrom.ts delete mode 100644 legacy-reexport/operators/zip.ts delete mode 100644 legacy-reexport/operators/zipAll.ts delete mode 100644 legacy-reexport/scheduler/animationFrame.ts delete mode 100644 legacy-reexport/scheduler/asap.ts delete mode 100644 legacy-reexport/scheduler/async.ts delete mode 100644 legacy-reexport/scheduler/queue.ts delete mode 100644 legacy-reexport/symbol/iterator.ts delete mode 100644 legacy-reexport/symbol/observable.ts delete mode 100644 legacy-reexport/symbol/rxSubscriber.ts delete mode 100644 legacy-reexport/util/ArgumentOutOfRangeError.ts delete mode 100644 legacy-reexport/util/EmptyError.ts delete mode 100644 legacy-reexport/util/Immediate.ts delete mode 100644 legacy-reexport/util/ObjectUnsubscribedError.ts delete mode 100644 legacy-reexport/util/TimeoutError.ts delete mode 100644 legacy-reexport/util/UnsubscriptionError.ts delete mode 100644 legacy-reexport/util/applyMixins.ts delete mode 100644 legacy-reexport/util/errorObject.ts delete mode 100644 legacy-reexport/util/hostReportError.ts delete mode 100644 legacy-reexport/util/identity.ts delete mode 100644 legacy-reexport/util/isArray.ts delete mode 100644 legacy-reexport/util/isArrayLike.ts delete mode 100644 legacy-reexport/util/isDate.ts delete mode 100644 legacy-reexport/util/isFunction.ts delete mode 100644 legacy-reexport/util/isIterable.ts delete mode 100644 legacy-reexport/util/isNumeric.ts delete mode 100644 legacy-reexport/util/isObject.ts delete mode 100644 legacy-reexport/util/isObservable.ts delete mode 100644 legacy-reexport/util/isPromise.ts delete mode 100644 legacy-reexport/util/isScheduler.ts delete mode 100644 legacy-reexport/util/noop.ts delete mode 100644 legacy-reexport/util/not.ts delete mode 100644 legacy-reexport/util/pipe.ts delete mode 100644 legacy-reexport/util/root.ts delete mode 100644 legacy-reexport/util/subscribeTo.ts delete mode 100644 legacy-reexport/util/subscribeToArray.ts delete mode 100644 legacy-reexport/util/subscribeToIterable.ts delete mode 100644 legacy-reexport/util/subscribeToObservable.ts delete mode 100644 legacy-reexport/util/subscribeToPromise.ts delete mode 100644 legacy-reexport/util/subscribeToResult.ts delete mode 100644 legacy-reexport/util/toSubscriber.ts delete mode 100644 legacy-reexport/util/tryCatch.ts delete mode 100644 migrations/collection.json delete mode 100644 migrations/update-6_0_0/index.ts delete mode 100644 spec/migration/update-6_0_0/index-spec.ts delete mode 100644 src/internal-compatibility/index.ts delete mode 100644 src/internal-compatibility/package.json delete mode 100644 src/internal/Rx.ts delete mode 100644 tools/make-closure-compat.js delete mode 100644 tools/make-umd-compat-bundle.js delete mode 100644 tsconfig/compat/tsconfig.base.json delete mode 100644 tsconfig/compat/tsconfig.cjs.json delete mode 100644 tsconfig/compat/tsconfig.esm2015.json delete mode 100644 tsconfig/compat/tsconfig.esm5.json delete mode 100644 tsconfig/compat/tsconfig.esm5.rollup.json delete mode 100644 tsconfig/tsconfig.legacy-reexport.json delete mode 100644 tsconfig/tsconfig.migrations.json diff --git a/.gitignore b/.gitignore index 992b5321ff..e73bb823ec 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,6 @@ typings/ # Generated dist/ -dist-compat/ tmp/ coverage/ img/ @@ -26,4 +25,4 @@ npm-debug.log # The check-side-effects package generates and deletes this file. # If the process is killed, it will be left behind. -check-side-effects.tmp-input.js \ No newline at end of file +check-side-effects.tmp-input.js diff --git a/.make-compat-package.js b/.make-compat-package.js deleted file mode 100644 index b9fb7b288c..0000000000 --- a/.make-compat-package.js +++ /dev/null @@ -1,50 +0,0 @@ -"use strict"; - -let pkg = require('./compat/package.json'); -let fs = require('fs-extra'); -let mkdirp = require('mkdirp'); -let path = require('path'); -let klawSync = require('klaw-sync'); -let licenseTool = require('./tools/add-license-to-file'); -let makePackages = require('./.make-helpers'); -let copySources = makePackages.copySources; -let createImportTargets = makePackages.createImportTargets; -let cleanSourceMapRoot = makePackages.cleanSourceMapRoot; - -let addLicenseToFile = licenseTool.addLicenseToFile; -let addLicenseTextToFile = licenseTool.addLicenseTextToFile; - -const ROOT = 'dist-compat/'; -const CJS_ROOT = ROOT + 'cjs/compat/'; -const ESM5_ROOT = ROOT + 'esm5/compat/'; -const ESM2015_ROOT = ROOT + 'esm2015/compat/'; -const GLOBAL_ROOT = ROOT + 'global/'; -const TYPE_ROOT = ROOT + 'typings/compat/'; -const PKG_ROOT = ROOT + 'package/'; -const CJS_PKG = PKG_ROOT + ''; -const ESM5_PKG = PKG_ROOT + '_esm5/'; -const ESM2015_PKG = PKG_ROOT + '_esm2015/'; -const UMD_PKG = PKG_ROOT + 'bundles/'; -const SRC_ROOT_PKG = PKG_ROOT + 'src/'; -const TYPE_PKG = PKG_ROOT; - -// License info for minified files -let licenseUrl = 'https://github.com/ReactiveX/RxJS/blob/master/LICENSE.txt'; -let license = 'Apache License 2.0 ' + licenseUrl; - -// Recreate the distribution folder -fs.removeSync(PKG_ROOT); -mkdirp.sync(PKG_ROOT); - -// Copy over the sources -fs.copySync(TYPE_ROOT, TYPE_PKG); -copySources(CJS_ROOT, CJS_PKG); -cleanSourceMapRoot(CJS_PKG, SRC_ROOT_PKG); -copySources(ESM5_ROOT, ESM5_PKG, true); -cleanSourceMapRoot(ESM5_PKG, SRC_ROOT_PKG); -copySources(ESM2015_ROOT, ESM2015_PKG, true); -cleanSourceMapRoot(ESM2015_PKG, SRC_ROOT_PKG); -copySources(GLOBAL_ROOT, UMD_PKG, true); -cleanSourceMapRoot(UMD_PKG, SRC_ROOT_PKG); - -fs.copySync('compat/package.json', PKG_ROOT + '/package.json'); diff --git a/.make-helpers.js b/.make-helpers.js index c2a8a22288..be5d550b91 100644 --- a/.make-helpers.js +++ b/.make-helpers.js @@ -36,30 +36,7 @@ function copySources(rootDir, packageDir, ignoreMissing) { fs.copySync('./README.md', packageDir + 'README.md'); } -// Create a file that exports the importTargets object -function createImportTargets(importTargets, targetName, targetDirectory) { - const importMap = {}; - for (const x in importTargets) { - importMap['rxjs/' + x] = ('rxjs-compat/' + targetName + importTargets[x]).replace(/\.js$/, ''); - } - - const outputData = -` -"use strict" - -var path = require('path'); -var dir = path.resolve(__dirname); - -module.exports = function() { - return ${JSON.stringify(importMap, null, 4)}; -} -` - - fs.outputFileSync(targetDirectory + 'path-mapping.js', outputData); -} - module.exports = { copySources, - createImportTargets, cleanSourceMapRoot -} \ No newline at end of file +} diff --git a/.make-packages.js b/.make-packages.js index 3b24208377..492018f2b1 100644 --- a/.make-packages.js +++ b/.make-packages.js @@ -10,7 +10,6 @@ let addLicenseToFile = licenseTool.addLicenseToFile; let addLicenseTextToFile = licenseTool.addLicenseTextToFile; let makePackages = require('./.make-helpers'); let copySources = makePackages.copySources; -let createImportTargets = makePackages.createImportTargets; let cleanSourceMapRoot = makePackages.cleanSourceMapRoot; let bo = null; // Build Optimizer is not available on Node 4.x. Using a try/catch @@ -27,9 +26,7 @@ const ESM5_ROOT = ROOT + 'esm5/'; const ESM2015_ROOT = ROOT + 'esm2015/'; const UMD_ROOT = ROOT + 'global/'; const ESM5_FOR_ROLLUP_ROOT = ROOT + 'esm5_for_rollup/'; -const LEGACY_REEXPORT_ROOT = ROOT + 'legacy-reexport/'; const TYPE_ROOT = ROOT + 'typings/'; -const MIGRATION_PKG = ROOT + 'migrations/'; const PKG_ROOT = ROOT + 'package/'; const CJS_PKG = PKG_ROOT + ''; const ESM5_PKG = PKG_ROOT + '_esm5/'; @@ -75,50 +72,13 @@ klawSync(ESM5_ROOT, { return fileName; }); -/** - * Get a list of the file names. Sort in reverse order so re-export files - * such as "operators.js" are AFTER their more specfic exports, such as - * "operators/map.js". This is due to a Webpack bug for node-resolved imports - * (rxjs/operators resolves to rxjs/operators.js), Webpack's "alias" - * functionality requires that the most broad mapping (rxjs/operators) be at - * the end of the alias mapping object. Created Webpack issue: - * https://github.com/webpack/webpack/issues/5870 - * - * This is only needed for items in legacy-reexport as others should be resolved - * through their package.json. - */ -const fileNames = klawSync(LEGACY_REEXPORT_ROOT, { - nodir: true, - filter: function(item) { - return item.path.endsWith('.js'); - } -}) -.map(item => item.path) -.map(path => path.slice((`${__dirname}/${LEGACY_REEXPORT_ROOT}`).length)) -.sort().reverse(); - -// Create an object hash mapping imports to file names -const importTargets = fileNames.reduce((acc, fileName) => { - // Get the name of the file to be the new directory - const directory = fileName.slice(0, fileName.length - 3); - - acc[directory] = fileName; - return acc; -}, {}); - -createImportTargets(importTargets, "_esm5/", ESM5_PKG); -createImportTargets(importTargets, "_esm2015/", ESM2015_PKG); - // Make the distribution folder mkdirp.sync(PKG_ROOT); // Copy over the sources copySources('src/', SRC_ROOT_PKG); -// Copy legacy-reexport sources -copySources('legacy-reexport/', SRC_ROOT_PKG); copySources(CJS_ROOT, CJS_PKG); -fs.copySync(LEGACY_REEXPORT_ROOT, CJS_PKG, {overwrite: false, errorOnExist: true}); // Clean up the source maps for CJS sources cleanSourceMapRoot(PKG_ROOT, SRC_ROOT_PKG); @@ -137,11 +97,6 @@ fs.copySync('src/operators/package.json', PKG_ROOT + '/operators/package.json'); fs.copySync('src/ajax/package.json', PKG_ROOT + '/ajax/package.json'); fs.copySync('src/webSocket/package.json', PKG_ROOT + '/webSocket/package.json'); fs.copySync('src/testing/package.json', PKG_ROOT + '/testing/package.json'); -fs.copySync('src/internal-compatibility/package.json', PKG_ROOT + '/internal-compatibility/package.json'); - -// Copy over migrations -fs.copySync(MIGRATION_PKG, PKG_ROOT + 'migrations/'); -fs.copySync('./migrations/collection.json', PKG_ROOT + 'migrations/collection.json'); if (fs.existsSync(UMD_ROOT)) { fs.copySync(UMD_ROOT, UMD_PKG); diff --git a/compat/AsyncSubject.ts b/compat/AsyncSubject.ts deleted file mode 100644 index 656ff9380c..0000000000 --- a/compat/AsyncSubject.ts +++ /dev/null @@ -1 +0,0 @@ -export {AsyncSubject} from 'rxjs'; diff --git a/compat/BehaviorSubject.ts b/compat/BehaviorSubject.ts deleted file mode 100644 index 0809d1fa5a..0000000000 --- a/compat/BehaviorSubject.ts +++ /dev/null @@ -1 +0,0 @@ -export {BehaviorSubject} from 'rxjs'; diff --git a/compat/InnerSubscriber.ts b/compat/InnerSubscriber.ts deleted file mode 100644 index c37cb18933..0000000000 --- a/compat/InnerSubscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export {InnerSubscriber} from 'rxjs/internal-compatibility'; diff --git a/compat/Notification.ts b/compat/Notification.ts deleted file mode 100644 index 812cebd1e5..0000000000 --- a/compat/Notification.ts +++ /dev/null @@ -1 +0,0 @@ -export {Notification} from 'rxjs'; diff --git a/compat/Observable.ts b/compat/Observable.ts deleted file mode 100644 index 4b733c6bf5..0000000000 --- a/compat/Observable.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {Observable} from 'rxjs'; -export {Subscribable, SubscribableOrPromise, ObservableInput} from 'rxjs'; diff --git a/compat/Observer.ts b/compat/Observer.ts deleted file mode 100644 index 89a324b598..0000000000 --- a/compat/Observer.ts +++ /dev/null @@ -1 +0,0 @@ -export {Observer, NextObserver, ErrorObserver, CompletionObserver, PartialObserver} from 'rxjs'; diff --git a/compat/Operator.ts b/compat/Operator.ts deleted file mode 100644 index e8c7e3f976..0000000000 --- a/compat/Operator.ts +++ /dev/null @@ -1 +0,0 @@ -export {Operator} from 'rxjs'; diff --git a/compat/OuterSubscriber.ts b/compat/OuterSubscriber.ts deleted file mode 100644 index 40bb3564ae..0000000000 --- a/compat/OuterSubscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export {OuterSubscriber} from 'rxjs/internal-compatibility'; diff --git a/compat/README.md b/compat/README.md deleted file mode 100644 index 42f46d2bad..0000000000 --- a/compat/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# RxJS Compatibility Package - -This package is required to get backwards compatibility with RxJS previous to version 6. It contains the imports to add operators to `Observable.prototype` and creation methods to `Observable`. This is what allows, for instance, dot-chaining: - -``` -Observable.interval(1) - .map(i => i * i) -``` - -vs - -``` -Observable.interval(1) - .pipe(map(i => i * i)) -``` diff --git a/compat/ReplaySubject.ts b/compat/ReplaySubject.ts deleted file mode 100644 index af2dc8e479..0000000000 --- a/compat/ReplaySubject.ts +++ /dev/null @@ -1 +0,0 @@ -export {ReplaySubject} from 'rxjs'; diff --git a/compat/Rx.ts b/compat/Rx.ts deleted file mode 100644 index 77e902547f..0000000000 --- a/compat/Rx.ts +++ /dev/null @@ -1,218 +0,0 @@ -/* tslint:disable:no-unused-variable */ -// Subject imported before Observable to bypass circular dependency issue since -// Subject extends Observable and Observable references Subject in it's -// definition -export {Observable, Subject} from 'rxjs'; -export {AnonymousSubject} from 'rxjs/internal-compatibility'; -/* tslint:enable:no-unused-variable */ - -export { config } from 'rxjs/internal-compatibility'; - -// statics -/* tslint:disable:no-use-before-declare */ -import './add/observable/bindCallback'; -import './add/observable/bindNodeCallback'; -import './add/observable/combineLatest'; -import './add/observable/concat'; -import './add/observable/defer'; -import './add/observable/empty'; -import './add/observable/forkJoin'; -import './add/observable/from'; -import './add/observable/fromEvent'; -import './add/observable/fromEventPattern'; -import './add/observable/fromPromise'; -import './add/observable/generate'; -import './add/observable/if'; -import './add/observable/interval'; -import './add/observable/merge'; -import './add/observable/race'; -import './add/observable/never'; -import './add/observable/of'; -import './add/observable/onErrorResumeNext'; -import './add/observable/pairs'; -import './add/observable/range'; -import './add/observable/using'; -import './add/observable/throw'; -import './add/observable/timer'; -import './add/observable/zip'; - -//dom -import './add/observable/dom/ajax'; -import './add/observable/dom/webSocket'; - -//internal/operators -import './add/operator/buffer'; -import './add/operator/bufferCount'; -import './add/operator/bufferTime'; -import './add/operator/bufferToggle'; -import './add/operator/bufferWhen'; -import './add/operator/catch'; -import './add/operator/combineAll'; -import './add/operator/combineLatest'; -import './add/operator/concat'; -import './add/operator/concatAll'; -import './add/operator/concatMap'; -import './add/operator/concatMapTo'; -import './add/operator/count'; -import './add/operator/dematerialize'; -import './add/operator/debounce'; -import './add/operator/debounceTime'; -import './add/operator/defaultIfEmpty'; -import './add/operator/delay'; -import './add/operator/delayWhen'; -import './add/operator/distinct'; -import './add/operator/distinctUntilChanged'; -import './add/operator/distinctUntilKeyChanged'; -import './add/operator/do'; -import './add/operator/exhaust'; -import './add/operator/exhaustMap'; -import './add/operator/expand'; -import './add/operator/elementAt'; -import './add/operator/filter'; -import './add/operator/finally'; -import './add/operator/find'; -import './add/operator/findIndex'; -import './add/operator/first'; -import './add/operator/groupBy'; -import './add/operator/ignoreElements'; -import './add/operator/isEmpty'; -import './add/operator/audit'; -import './add/operator/auditTime'; -import './add/operator/last'; -import './add/operator/let'; -import './add/operator/every'; -import './add/operator/map'; -import './add/operator/mapTo'; -import './add/operator/materialize'; -import './add/operator/max'; -import './add/operator/merge'; -import './add/operator/mergeAll'; -import './add/operator/mergeMap'; -import './add/operator/mergeMapTo'; -import './add/operator/mergeScan'; -import './add/operator/min'; -import './add/operator/multicast'; -import './add/operator/observeOn'; -import './add/operator/onErrorResumeNext'; -import './add/operator/pairwise'; -import './add/operator/partition'; -import './add/operator/pluck'; -import './add/operator/publish'; -import './add/operator/publishBehavior'; -import './add/operator/publishReplay'; -import './add/operator/publishLast'; -import './add/operator/race'; -import './add/operator/reduce'; -import './add/operator/repeat'; -import './add/operator/repeatWhen'; -import './add/operator/retry'; -import './add/operator/retryWhen'; -import './add/operator/sample'; -import './add/operator/sampleTime'; -import './add/operator/scan'; -import './add/operator/sequenceEqual'; -import './add/operator/share'; -import './add/operator/shareReplay'; -import './add/operator/single'; -import './add/operator/skip'; -import './add/operator/skipLast'; -import './add/operator/skipUntil'; -import './add/operator/skipWhile'; -import './add/operator/startWith'; -import './add/operator/subscribeOn'; -import './add/operator/switch'; -import './add/operator/switchMap'; -import './add/operator/switchMapTo'; -import './add/operator/take'; -import './add/operator/takeLast'; -import './add/operator/takeUntil'; -import './add/operator/takeWhile'; -import './add/operator/throttle'; -import './add/operator/throttleTime'; -import './add/operator/timeInterval'; -import './add/operator/timeout'; -import './add/operator/timeoutWith'; -import './add/operator/timestamp'; -import './add/operator/toArray'; -import './add/operator/toPromise'; -import './add/operator/window'; -import './add/operator/windowCount'; -import './add/operator/windowTime'; -import './add/operator/windowToggle'; -import './add/operator/windowWhen'; -import './add/operator/withLatestFrom'; -import './add/operator/zip'; -import './add/operator/zipAll'; - -/* tslint:disable:no-unused-variable */ -export { - Observer, - Subscription, - ReplaySubject, - BehaviorSubject, - Notification, - EmptyError, - ArgumentOutOfRangeError, - ObjectUnsubscribedError, - UnsubscriptionError, - pipe -} from 'rxjs'; - -export {TestScheduler} from 'rxjs/testing'; - -export { Operator, Subscriber, AsyncSubject, ConnectableObservable, TimeoutError, VirtualTimeScheduler } from 'rxjs'; -export { AjaxRequest, AjaxResponse, AjaxError, AjaxTimeoutError } from 'rxjs/ajax'; - -import { asapScheduler, asyncScheduler, queueScheduler, animationFrameScheduler, SchedulerLike } from 'rxjs'; - -import { iterator, observable, rxSubscriber } from 'rxjs/internal-compatibility'; -export { TimeInterval, Timestamp } from 'rxjs/internal-compatibility'; - -import * as _operators from 'rxjs/operators'; - -export const operators = _operators; - -/* tslint:enable:no-unused-variable */ - -/** - * @typedef {Object} Rx.Scheduler - * @property {Scheduler} queue Schedules on a queue in the current event frame - * (trampoline scheduler). Use this for iteration operations. - * @property {Scheduler} asap Schedules on the micro task queue, which is the same - * queue used for promises. Basically after the current job, but before the next - * job. Use this for asynchronous conversions. - * @property {Scheduler} async Schedules work with `setInterval`. Use this for - * time-based operations. - * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`. - * Use this for synchronizing with the platform's painting - */ -let Scheduler = { - asap: asapScheduler as SchedulerLike, - queue: queueScheduler as SchedulerLike, - animationFrame: animationFrameScheduler as SchedulerLike, - async: asyncScheduler as SchedulerLike -}; - -/** - * @typedef {Object} Rx.Symbol - * @property {Symbol|string} rxSubscriber A symbol to use as a property name to - * retrieve an "Rx safe" Observer from an object. "Rx safety" can be defined as - * an object that has all of the traits of an Rx Subscriber, including the - * ability to add and remove subscriptions to the subscription chain and - * guarantees involving event triggering (can't "next" after unsubscription, - * etc). - * @property {Symbol|string} observable A symbol to use as a property name to - * retrieve an Observable as defined by the [ECMAScript "Observable" spec](https://github.com/zenparsing/es-observable). - * @property {Symbol|string} iterator The ES6 symbol to use as a property name - * to retrieve an iterator from an object. - */ -let Symbol = { - rxSubscriber, - observable, - iterator -}; - -export { - Scheduler, - Symbol -}; diff --git a/compat/Scheduler.ts b/compat/Scheduler.ts deleted file mode 100644 index 3f3e0ad621..0000000000 --- a/compat/Scheduler.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {Scheduler} from 'rxjs/internal-compatibility'; -export {SchedulerLike as IScheduler} from 'rxjs'; diff --git a/compat/Subject.ts b/compat/Subject.ts deleted file mode 100644 index 50d7b4bdb1..0000000000 --- a/compat/Subject.ts +++ /dev/null @@ -1 +0,0 @@ -export {Subject} from 'rxjs'; diff --git a/compat/SubjectSubscription.ts b/compat/SubjectSubscription.ts deleted file mode 100644 index 00766b6957..0000000000 --- a/compat/SubjectSubscription.ts +++ /dev/null @@ -1 +0,0 @@ -export {SubjectSubscription} from 'rxjs/internal-compatibility'; diff --git a/compat/Subscriber.ts b/compat/Subscriber.ts deleted file mode 100644 index c48f65160c..0000000000 --- a/compat/Subscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export {Subscriber} from 'rxjs/internal-compatibility'; diff --git a/compat/Subscription.ts b/compat/Subscription.ts deleted file mode 100644 index b07e7267dc..0000000000 --- a/compat/Subscription.ts +++ /dev/null @@ -1 +0,0 @@ -export {Subscription, Unsubscribable as AnonymousSubscription, SubscriptionLike as ISubscription, TeardownLogic} from 'rxjs'; diff --git a/compat/add/observable/bindCallback.ts b/compat/add/observable/bindCallback.ts deleted file mode 100644 index add5eb5975..0000000000 --- a/compat/add/observable/bindCallback.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, bindCallback as staticBindCallback } from 'rxjs'; - -Observable.bindCallback = staticBindCallback; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let bindCallback: typeof staticBindCallback; - } -} diff --git a/compat/add/observable/bindNodeCallback.ts b/compat/add/observable/bindNodeCallback.ts deleted file mode 100644 index 65a380a0ba..0000000000 --- a/compat/add/observable/bindNodeCallback.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, bindNodeCallback as staticBindNodeCallback } from 'rxjs'; - -Observable.bindNodeCallback = staticBindNodeCallback; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let bindNodeCallback: typeof staticBindNodeCallback; - } -} diff --git a/compat/add/observable/combineLatest.ts b/compat/add/observable/combineLatest.ts deleted file mode 100644 index 0d77a00f6f..0000000000 --- a/compat/add/observable/combineLatest.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, combineLatest as combineLatestStatic } from 'rxjs'; - -Observable.combineLatest = combineLatestStatic; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let combineLatest: typeof combineLatestStatic; - } -} diff --git a/compat/add/observable/concat.ts b/compat/add/observable/concat.ts deleted file mode 100644 index f32c1a52d5..0000000000 --- a/compat/add/observable/concat.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, concat as concatStatic } from 'rxjs'; - -Observable.concat = concatStatic; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let concat: typeof concatStatic; - } -} diff --git a/compat/add/observable/defer.ts b/compat/add/observable/defer.ts deleted file mode 100644 index eb5378ae6f..0000000000 --- a/compat/add/observable/defer.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, defer as staticDefer } from 'rxjs'; - -Observable.defer = staticDefer; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let defer: typeof staticDefer; - } -} diff --git a/compat/add/observable/dom/ajax.ts b/compat/add/observable/dom/ajax.ts deleted file mode 100644 index e7f4ef6f6a..0000000000 --- a/compat/add/observable/dom/ajax.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Observable } from 'rxjs'; -import { ajax as staticAjax } from 'rxjs/ajax'; -import { AjaxCreationMethod } from 'rxjs/internal-compatibility'; - -Observable.ajax = staticAjax; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let ajax: AjaxCreationMethod; - } -} diff --git a/compat/add/observable/dom/webSocket.ts b/compat/add/observable/dom/webSocket.ts deleted file mode 100644 index 4785e8f2f4..0000000000 --- a/compat/add/observable/dom/webSocket.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { webSocket as staticWebSocket } from 'rxjs/webSocket'; - -Observable.webSocket = staticWebSocket; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let webSocket: typeof staticWebSocket; - } -} diff --git a/compat/add/observable/empty.ts b/compat/add/observable/empty.ts deleted file mode 100644 index bd922dd4dd..0000000000 --- a/compat/add/observable/empty.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, empty as staticEmpty } from 'rxjs'; - -Observable.empty = staticEmpty; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let empty: typeof staticEmpty; - } -} diff --git a/compat/add/observable/forkJoin.ts b/compat/add/observable/forkJoin.ts deleted file mode 100644 index 9cf144c306..0000000000 --- a/compat/add/observable/forkJoin.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, forkJoin as staticForkJoin } from 'rxjs'; - -Observable.forkJoin = staticForkJoin; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let forkJoin: typeof staticForkJoin; - } -} diff --git a/compat/add/observable/from.ts b/compat/add/observable/from.ts deleted file mode 100644 index 7b3565eda3..0000000000 --- a/compat/add/observable/from.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, from as staticFrom } from 'rxjs'; - -Observable.from = staticFrom; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let from: typeof staticFrom; - } -} diff --git a/compat/add/observable/fromEvent.ts b/compat/add/observable/fromEvent.ts deleted file mode 100644 index 3f95111cfd..0000000000 --- a/compat/add/observable/fromEvent.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, fromEvent as staticFromEvent } from 'rxjs'; - -Observable.fromEvent = staticFromEvent; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let fromEvent: typeof staticFromEvent; - } -} diff --git a/compat/add/observable/fromEventPattern.ts b/compat/add/observable/fromEventPattern.ts deleted file mode 100644 index 752d28bcf4..0000000000 --- a/compat/add/observable/fromEventPattern.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, fromEventPattern as staticFromEventPattern } from 'rxjs'; - -Observable.fromEventPattern = staticFromEventPattern; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let fromEventPattern: typeof staticFromEventPattern; - } -} diff --git a/compat/add/observable/fromPromise.ts b/compat/add/observable/fromPromise.ts deleted file mode 100644 index 2ce2b0bab5..0000000000 --- a/compat/add/observable/fromPromise.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable, from } from 'rxjs'; -import { fromPromise as staticFromPromise } from 'rxjs/internal-compatibility'; - -(Observable as any).fromPromise = from; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let fromPromise: typeof staticFromPromise; - } -} diff --git a/compat/add/observable/generate.ts b/compat/add/observable/generate.ts deleted file mode 100644 index dc9e0118c3..0000000000 --- a/compat/add/observable/generate.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, generate as staticGenerate } from 'rxjs'; - -Observable.generate = staticGenerate; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let generate: typeof staticGenerate; - } -} diff --git a/compat/add/observable/if.ts b/compat/add/observable/if.ts deleted file mode 100644 index d25dc79639..0000000000 --- a/compat/add/observable/if.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Observable, iif } from 'rxjs'; - -Observable.if = iif; diff --git a/compat/add/observable/interval.ts b/compat/add/observable/interval.ts deleted file mode 100644 index 1a0164525b..0000000000 --- a/compat/add/observable/interval.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, interval as staticInterval } from 'rxjs'; - -Observable.interval = staticInterval; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let interval: typeof staticInterval; - } -} diff --git a/compat/add/observable/merge.ts b/compat/add/observable/merge.ts deleted file mode 100644 index 34fc685ef6..0000000000 --- a/compat/add/observable/merge.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, merge as mergeStatic } from 'rxjs'; - -Observable.merge = mergeStatic; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let merge: typeof mergeStatic; - } -} diff --git a/compat/add/observable/never.ts b/compat/add/observable/never.ts deleted file mode 100644 index 6021aa279d..0000000000 --- a/compat/add/observable/never.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Observable, interval, NEVER } from 'rxjs'; - -export function staticNever() { - return NEVER; -} - -Observable.never = staticNever; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let never: typeof staticNever; - } -} diff --git a/compat/add/observable/of.ts b/compat/add/observable/of.ts deleted file mode 100644 index 7acc3ede35..0000000000 --- a/compat/add/observable/of.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, of as staticOf } from 'rxjs'; - -Observable.of = staticOf; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let of: typeof staticOf; //formOf an iceberg! - } -} diff --git a/compat/add/observable/onErrorResumeNext.ts b/compat/add/observable/onErrorResumeNext.ts deleted file mode 100644 index dd2184c48b..0000000000 --- a/compat/add/observable/onErrorResumeNext.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, onErrorResumeNext as staticOnErrorResumeNext } from 'rxjs'; - -Observable.onErrorResumeNext = staticOnErrorResumeNext; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let onErrorResumeNext: typeof staticOnErrorResumeNext; - } -} diff --git a/compat/add/observable/pairs.ts b/compat/add/observable/pairs.ts deleted file mode 100644 index e363085d9b..0000000000 --- a/compat/add/observable/pairs.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, pairs as staticPairs } from 'rxjs'; - -Observable.pairs = staticPairs; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let pairs: typeof staticPairs; - } -} diff --git a/compat/add/observable/race.ts b/compat/add/observable/race.ts deleted file mode 100644 index b4dd7b63b9..0000000000 --- a/compat/add/observable/race.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, race as staticRace } from 'rxjs'; - -Observable.race = staticRace; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let race: typeof staticRace; - } -} diff --git a/compat/add/observable/range.ts b/compat/add/observable/range.ts deleted file mode 100644 index 45a03770e4..0000000000 --- a/compat/add/observable/range.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, range as staticRange } from 'rxjs'; - -Observable.range = staticRange; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let range: typeof staticRange; - } -} diff --git a/compat/add/observable/throw.ts b/compat/add/observable/throw.ts deleted file mode 100644 index 2393210b8e..0000000000 --- a/compat/add/observable/throw.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable, throwError as staticThrowError } from 'rxjs'; - -Observable.throw = staticThrowError; -Observable.throwError = staticThrowError; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let throwError: typeof staticThrowError; - } -} diff --git a/compat/add/observable/timer.ts b/compat/add/observable/timer.ts deleted file mode 100644 index 641f45e746..0000000000 --- a/compat/add/observable/timer.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, timer as staticTimer } from 'rxjs'; - -Observable.timer = staticTimer; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let timer: typeof staticTimer; - } -} diff --git a/compat/add/observable/using.ts b/compat/add/observable/using.ts deleted file mode 100644 index e56025298c..0000000000 --- a/compat/add/observable/using.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, using as staticUsing } from 'rxjs'; - -Observable.using = staticUsing; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let using: typeof staticUsing; - } -} diff --git a/compat/add/observable/zip.ts b/compat/add/observable/zip.ts deleted file mode 100644 index 5693e96f69..0000000000 --- a/compat/add/observable/zip.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, zip as zipStatic } from 'rxjs'; - -Observable.zip = zipStatic; - -declare module 'rxjs/internal/Observable' { - namespace Observable { - export let zip: typeof zipStatic; - } -} diff --git a/compat/add/operator/audit.ts b/compat/add/operator/audit.ts deleted file mode 100644 index 175a3e5b7a..0000000000 --- a/compat/add/operator/audit.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { audit } from '../../operator/audit'; - -(Observable as any).prototype.audit = audit; - -declare module 'rxjs/internal/Observable' { - interface Observable { - audit: typeof audit; - } -} diff --git a/compat/add/operator/auditTime.ts b/compat/add/operator/auditTime.ts deleted file mode 100644 index 6f37b9b065..0000000000 --- a/compat/add/operator/auditTime.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { auditTime } from '../../operator/auditTime'; - -(Observable as any).prototype.auditTime = auditTime; - -declare module 'rxjs/internal/Observable' { - interface Observable { - auditTime: typeof auditTime; - } -} diff --git a/compat/add/operator/buffer.ts b/compat/add/operator/buffer.ts deleted file mode 100644 index 595cb8e5f0..0000000000 --- a/compat/add/operator/buffer.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { buffer } from '../../operator/buffer'; - -(Observable as any).prototype.buffer = buffer; - -declare module 'rxjs/internal/Observable' { - interface Observable { - buffer: typeof buffer; - } -} diff --git a/compat/add/operator/bufferCount.ts b/compat/add/operator/bufferCount.ts deleted file mode 100644 index 6735e89719..0000000000 --- a/compat/add/operator/bufferCount.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { bufferCount } from '../../operator/bufferCount'; - -(Observable as any).prototype.bufferCount = bufferCount; - -declare module 'rxjs/internal/Observable' { - interface Observable { - bufferCount: typeof bufferCount; - } -} diff --git a/compat/add/operator/bufferTime.ts b/compat/add/operator/bufferTime.ts deleted file mode 100644 index fde31de9f2..0000000000 --- a/compat/add/operator/bufferTime.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { bufferTime } from '../../operator/bufferTime'; - -(Observable as any).prototype.bufferTime = bufferTime; - -declare module 'rxjs/internal/Observable' { - interface Observable { - bufferTime: typeof bufferTime; - } -} diff --git a/compat/add/operator/bufferToggle.ts b/compat/add/operator/bufferToggle.ts deleted file mode 100644 index 0b5bd71075..0000000000 --- a/compat/add/operator/bufferToggle.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { bufferToggle } from '../../operator/bufferToggle'; - -(Observable as any).prototype.bufferToggle = bufferToggle; - -declare module 'rxjs/internal/Observable' { - interface Observable { - bufferToggle: typeof bufferToggle; - } -} diff --git a/compat/add/operator/bufferWhen.ts b/compat/add/operator/bufferWhen.ts deleted file mode 100644 index 578eb23b68..0000000000 --- a/compat/add/operator/bufferWhen.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { bufferWhen } from '../../operator/bufferWhen'; - -(Observable as any).prototype.bufferWhen = bufferWhen; - -declare module 'rxjs/internal/Observable' { - interface Observable { - bufferWhen: typeof bufferWhen; - } -} diff --git a/compat/add/operator/catch.ts b/compat/add/operator/catch.ts deleted file mode 100644 index f082fca36d..0000000000 --- a/compat/add/operator/catch.ts +++ /dev/null @@ -1,13 +0,0 @@ - -import { Observable } from 'rxjs'; -import { _catch } from '../../operator/catch'; - -(Observable as any).prototype.catch = _catch; -(Observable as any).prototype._catch = _catch; - -declare module 'rxjs/internal/Observable' { - interface Observable { - catch: typeof _catch; - _catch: typeof _catch; - } -} diff --git a/compat/add/operator/combineAll.ts b/compat/add/operator/combineAll.ts deleted file mode 100644 index 4a9b46dcaa..0000000000 --- a/compat/add/operator/combineAll.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { combineAll } from '../../operator/combineAll'; - -(Observable as any).prototype.combineAll = combineAll; - -declare module 'rxjs/internal/Observable' { - interface Observable { - combineAll: typeof combineAll; - } -} diff --git a/compat/add/operator/combineLatest.ts b/compat/add/operator/combineLatest.ts deleted file mode 100644 index 925d2dd8c3..0000000000 --- a/compat/add/operator/combineLatest.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { combineLatest } from '../../operator/combineLatest'; - -(Observable as any).prototype.combineLatest = combineLatest; - -declare module 'rxjs/internal/Observable' { - interface Observable { - combineLatest: typeof combineLatest; - } -} diff --git a/compat/add/operator/concat.ts b/compat/add/operator/concat.ts deleted file mode 100644 index 2dfafb90d3..0000000000 --- a/compat/add/operator/concat.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { concat } from '../../operator/concat'; - -(Observable as any).prototype.concat = concat; - -declare module 'rxjs/internal/Observable' { - interface Observable { - concat: typeof concat; - } -} diff --git a/compat/add/operator/concatAll.ts b/compat/add/operator/concatAll.ts deleted file mode 100644 index 9df6633b10..0000000000 --- a/compat/add/operator/concatAll.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { concatAll } from '../../operator/concatAll'; - -(Observable as any).prototype.concatAll = concatAll; - -declare module 'rxjs/internal/Observable' { - interface Observable { - concatAll: typeof concatAll; - } -} diff --git a/compat/add/operator/concatMap.ts b/compat/add/operator/concatMap.ts deleted file mode 100644 index f70f113f74..0000000000 --- a/compat/add/operator/concatMap.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { concatMap } from '../../operator/concatMap'; - -(Observable as any).prototype.concatMap = concatMap; - -declare module 'rxjs/internal/Observable' { - interface Observable { - concatMap: typeof concatMap; - } -} diff --git a/compat/add/operator/concatMapTo.ts b/compat/add/operator/concatMapTo.ts deleted file mode 100644 index a9152f6a1e..0000000000 --- a/compat/add/operator/concatMapTo.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { concatMapTo } from '../../operator/concatMapTo'; - -(Observable as any).prototype.concatMapTo = concatMapTo; - -declare module 'rxjs/internal/Observable' { - interface Observable { - concatMapTo: typeof concatMapTo; - } -} diff --git a/compat/add/operator/count.ts b/compat/add/operator/count.ts deleted file mode 100644 index bd841b51dc..0000000000 --- a/compat/add/operator/count.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { count } from '../../operator/count'; - -(Observable as any).prototype.count = count; - -declare module 'rxjs/internal/Observable' { - interface Observable { - count: typeof count; - } -} diff --git a/compat/add/operator/debounce.ts b/compat/add/operator/debounce.ts deleted file mode 100644 index 0ed02c33cc..0000000000 --- a/compat/add/operator/debounce.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { debounce } from '../../operator/debounce'; - -(Observable as any).prototype.debounce = debounce; - -declare module 'rxjs/internal/Observable' { - interface Observable { - debounce: typeof debounce; - } -} diff --git a/compat/add/operator/debounceTime.ts b/compat/add/operator/debounceTime.ts deleted file mode 100644 index 29b0e46b9a..0000000000 --- a/compat/add/operator/debounceTime.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { debounceTime } from '../../operator/debounceTime'; - -(Observable as any).prototype.debounceTime = debounceTime; - -declare module 'rxjs/internal/Observable' { - interface Observable { - debounceTime: typeof debounceTime; - } -} diff --git a/compat/add/operator/defaultIfEmpty.ts b/compat/add/operator/defaultIfEmpty.ts deleted file mode 100644 index b9f5b65be7..0000000000 --- a/compat/add/operator/defaultIfEmpty.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { defaultIfEmpty } from '../../operator/defaultIfEmpty'; - -(Observable as any).prototype.defaultIfEmpty = defaultIfEmpty; - -declare module 'rxjs/internal/Observable' { - interface Observable { - defaultIfEmpty: typeof defaultIfEmpty; - } -} diff --git a/compat/add/operator/delay.ts b/compat/add/operator/delay.ts deleted file mode 100644 index f0bbc72c2e..0000000000 --- a/compat/add/operator/delay.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { delay } from '../../operator/delay'; - -(Observable as any).prototype.delay = delay; - -declare module 'rxjs/internal/Observable' { - interface Observable { - delay: typeof delay; - } -} diff --git a/compat/add/operator/delayWhen.ts b/compat/add/operator/delayWhen.ts deleted file mode 100644 index c442c688a0..0000000000 --- a/compat/add/operator/delayWhen.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { delayWhen } from '../../operator/delayWhen'; - -(Observable as any).prototype.delayWhen = delayWhen; - -declare module 'rxjs/internal/Observable' { - interface Observable { - delayWhen: typeof delayWhen; - } -} diff --git a/compat/add/operator/dematerialize.ts b/compat/add/operator/dematerialize.ts deleted file mode 100644 index 197c56acae..0000000000 --- a/compat/add/operator/dematerialize.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { dematerialize } from '../../operator/dematerialize'; - -(Observable as any).prototype.dematerialize = dematerialize; - -declare module 'rxjs/internal/Observable' { - interface Observable { - dematerialize: typeof dematerialize; - } -} diff --git a/compat/add/operator/distinct.ts b/compat/add/operator/distinct.ts deleted file mode 100644 index b0aac861a5..0000000000 --- a/compat/add/operator/distinct.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { distinct } from '../../operator/distinct'; - -(Observable as any).prototype.distinct = distinct; - -declare module 'rxjs/internal/Observable' { - interface Observable { - distinct: typeof distinct; - } -} diff --git a/compat/add/operator/distinctUntilChanged.ts b/compat/add/operator/distinctUntilChanged.ts deleted file mode 100644 index b574e3febb..0000000000 --- a/compat/add/operator/distinctUntilChanged.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { distinctUntilChanged } from '../../operator/distinctUntilChanged'; - -(Observable as any).prototype.distinctUntilChanged = distinctUntilChanged; - -declare module 'rxjs/internal/Observable' { - interface Observable { - distinctUntilChanged: typeof distinctUntilChanged; - } -} diff --git a/compat/add/operator/distinctUntilKeyChanged.ts b/compat/add/operator/distinctUntilKeyChanged.ts deleted file mode 100644 index 789dff8f67..0000000000 --- a/compat/add/operator/distinctUntilKeyChanged.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { distinctUntilKeyChanged } from '../../operator/distinctUntilKeyChanged'; - -(Observable as any).prototype.distinctUntilKeyChanged = distinctUntilKeyChanged; - -declare module 'rxjs/internal/Observable' { - interface Observable { - distinctUntilKeyChanged: typeof distinctUntilKeyChanged; - } -} diff --git a/compat/add/operator/do.ts b/compat/add/operator/do.ts deleted file mode 100644 index b41e334053..0000000000 --- a/compat/add/operator/do.ts +++ /dev/null @@ -1,13 +0,0 @@ - -import { Observable } from 'rxjs'; -import { _do } from '../../operator/do'; - -(Observable as any).prototype.do = _do; -(Observable as any).prototype._do = _do; - -declare module 'rxjs/internal/Observable' { - interface Observable { - do: typeof _do; - _do: typeof _do; - } -} diff --git a/compat/add/operator/elementAt.ts b/compat/add/operator/elementAt.ts deleted file mode 100644 index f01ff4a2e5..0000000000 --- a/compat/add/operator/elementAt.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { elementAt } from '../../operator/elementAt'; - -(Observable as any).prototype.elementAt = elementAt; - -declare module 'rxjs/internal/Observable' { - interface Observable { - elementAt: typeof elementAt; - } -} diff --git a/compat/add/operator/every.ts b/compat/add/operator/every.ts deleted file mode 100644 index 4eb4717758..0000000000 --- a/compat/add/operator/every.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { every } from '../../operator/every'; - -(Observable as any).prototype.every = every; - -declare module 'rxjs/internal/Observable' { - interface Observable { - every: typeof every; - } -} diff --git a/compat/add/operator/exhaust.ts b/compat/add/operator/exhaust.ts deleted file mode 100644 index d39e2e2a09..0000000000 --- a/compat/add/operator/exhaust.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { exhaust } from '../../operator/exhaust'; - -(Observable as any).prototype.exhaust = exhaust; - -declare module 'rxjs/internal/Observable' { - interface Observable { - exhaust: typeof exhaust; - } -} diff --git a/compat/add/operator/exhaustMap.ts b/compat/add/operator/exhaustMap.ts deleted file mode 100644 index d431d38f0b..0000000000 --- a/compat/add/operator/exhaustMap.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { exhaustMap } from '../../operator/exhaustMap'; - -(Observable as any).prototype.exhaustMap = exhaustMap; - -declare module 'rxjs/internal/Observable' { - interface Observable { - exhaustMap: typeof exhaustMap; - } -} diff --git a/compat/add/operator/expand.ts b/compat/add/operator/expand.ts deleted file mode 100644 index 46689293d3..0000000000 --- a/compat/add/operator/expand.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { expand } from '../../operator/expand'; - -(Observable as any).prototype.expand = expand; - -declare module 'rxjs/internal/Observable' { - interface Observable { - expand: typeof expand; - } -} diff --git a/compat/add/operator/filter.ts b/compat/add/operator/filter.ts deleted file mode 100644 index 7cbb4f2c48..0000000000 --- a/compat/add/operator/filter.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { filter } from '../../operator/filter'; - -(Observable as any).prototype.filter = filter; - -declare module 'rxjs/internal/Observable' { - interface Observable { - filter: typeof filter; - } -} diff --git a/compat/add/operator/finally.ts b/compat/add/operator/finally.ts deleted file mode 100644 index 4a1f88b85a..0000000000 --- a/compat/add/operator/finally.ts +++ /dev/null @@ -1,13 +0,0 @@ - -import { Observable } from 'rxjs'; -import { _finally } from '../../operator/finally'; - -(Observable as any).prototype.finally = _finally; -(Observable as any).prototype._finally = _finally; - -declare module 'rxjs/internal/Observable' { - interface Observable { - finally: typeof _finally; - _finally: typeof _finally; - } -} diff --git a/compat/add/operator/find.ts b/compat/add/operator/find.ts deleted file mode 100644 index 72212387d9..0000000000 --- a/compat/add/operator/find.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { find } from '../../operator/find'; - -(Observable as any).prototype.find = find; - -declare module 'rxjs/internal/Observable' { - interface Observable { - find: typeof find; - } -} diff --git a/compat/add/operator/findIndex.ts b/compat/add/operator/findIndex.ts deleted file mode 100644 index c348e204c3..0000000000 --- a/compat/add/operator/findIndex.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { findIndex } from '../../operator/findIndex'; - -(Observable as any).prototype.findIndex = findIndex; - -declare module 'rxjs/internal/Observable' { - interface Observable { - findIndex: typeof findIndex; - } -} diff --git a/compat/add/operator/first.ts b/compat/add/operator/first.ts deleted file mode 100644 index efcb9c490c..0000000000 --- a/compat/add/operator/first.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { first } from '../../operator/first'; - -(Observable as any).prototype.first = first; - -declare module 'rxjs/internal/Observable' { - interface Observable { - first: typeof first; - } -} diff --git a/compat/add/operator/groupBy.ts b/compat/add/operator/groupBy.ts deleted file mode 100644 index efa5f68c38..0000000000 --- a/compat/add/operator/groupBy.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { groupBy } from '../../operator/groupBy'; - -(Observable as any).prototype.groupBy = groupBy; - -declare module 'rxjs/internal/Observable' { - interface Observable { - groupBy: typeof groupBy; - } -} diff --git a/compat/add/operator/ignoreElements.ts b/compat/add/operator/ignoreElements.ts deleted file mode 100644 index 9a732f4241..0000000000 --- a/compat/add/operator/ignoreElements.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { ignoreElements } from '../../operator/ignoreElements'; - -(Observable as any).prototype.ignoreElements = ignoreElements; - -declare module 'rxjs/internal/Observable' { - interface Observable { - ignoreElements: typeof ignoreElements; - } -} diff --git a/compat/add/operator/isEmpty.ts b/compat/add/operator/isEmpty.ts deleted file mode 100644 index 70637e9a29..0000000000 --- a/compat/add/operator/isEmpty.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { isEmpty } from '../../operator/isEmpty'; - -(Observable as any).prototype.isEmpty = isEmpty; - -declare module 'rxjs/internal/Observable' { - interface Observable { - isEmpty: typeof isEmpty; - } -} diff --git a/compat/add/operator/last.ts b/compat/add/operator/last.ts deleted file mode 100644 index ec3481f751..0000000000 --- a/compat/add/operator/last.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { last } from '../../operator/last'; - -(Observable as any).prototype.last = last; - -declare module 'rxjs/internal/Observable' { - interface Observable { - last: typeof last; - } -} diff --git a/compat/add/operator/let.ts b/compat/add/operator/let.ts deleted file mode 100644 index bad6ad264c..0000000000 --- a/compat/add/operator/let.ts +++ /dev/null @@ -1,13 +0,0 @@ - -import { Observable } from 'rxjs'; -import { letProto } from '../../operator/let'; - -(Observable as any).prototype.let = letProto; -(Observable as any).prototype.letBind = letProto; - -declare module 'rxjs/internal/Observable' { - interface Observable { - let: typeof letProto; - letBind: typeof letProto; - } -} diff --git a/compat/add/operator/map.ts b/compat/add/operator/map.ts deleted file mode 100644 index d1ca515275..0000000000 --- a/compat/add/operator/map.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { map } from '../../operator/map'; - -(Observable as any).prototype.map = map; - -declare module 'rxjs/internal/Observable' { - interface Observable { - map: typeof map; - } -} diff --git a/compat/add/operator/mapTo.ts b/compat/add/operator/mapTo.ts deleted file mode 100644 index 1e7277e205..0000000000 --- a/compat/add/operator/mapTo.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { mapTo } from '../../operator/mapTo'; - -(Observable as any).prototype.mapTo = mapTo; - -declare module 'rxjs/internal/Observable' { - interface Observable { - mapTo: typeof mapTo; - } -} diff --git a/compat/add/operator/materialize.ts b/compat/add/operator/materialize.ts deleted file mode 100644 index 3ab6d8ef76..0000000000 --- a/compat/add/operator/materialize.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { materialize } from '../../operator/materialize'; - -(Observable as any).prototype.materialize = materialize; - -declare module 'rxjs/internal/Observable' { - interface Observable { - materialize: typeof materialize; - } -} diff --git a/compat/add/operator/max.ts b/compat/add/operator/max.ts deleted file mode 100644 index a115a1a701..0000000000 --- a/compat/add/operator/max.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { max } from '../../operator/max'; - -(Observable as any).prototype.max = max; - -declare module 'rxjs/internal/Observable' { - interface Observable { - max: typeof max; - } -} diff --git a/compat/add/operator/merge.ts b/compat/add/operator/merge.ts deleted file mode 100644 index 3edc6377bf..0000000000 --- a/compat/add/operator/merge.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { merge } from '../../operator/merge'; - -(Observable as any).prototype.merge = merge; - -declare module 'rxjs/internal/Observable' { - interface Observable { - merge: typeof merge; - } -} diff --git a/compat/add/operator/mergeAll.ts b/compat/add/operator/mergeAll.ts deleted file mode 100644 index 117af41c23..0000000000 --- a/compat/add/operator/mergeAll.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { mergeAll } from '../../operator/mergeAll'; - -(Observable as any).prototype.mergeAll = mergeAll; - -declare module 'rxjs/internal/Observable' { - interface Observable { - mergeAll: typeof mergeAll; - } -} diff --git a/compat/add/operator/mergeMap.ts b/compat/add/operator/mergeMap.ts deleted file mode 100644 index a6e319fd94..0000000000 --- a/compat/add/operator/mergeMap.ts +++ /dev/null @@ -1,13 +0,0 @@ - -import { Observable } from 'rxjs'; -import { mergeMap } from '../../operator/mergeMap'; - -(Observable as any).prototype.mergeMap = mergeMap; -(Observable as any).prototype.flatMap = mergeMap; - -declare module 'rxjs/internal/Observable' { - interface Observable { - flatMap: typeof mergeMap; - mergeMap: typeof mergeMap; - } -} diff --git a/compat/add/operator/mergeMapTo.ts b/compat/add/operator/mergeMapTo.ts deleted file mode 100644 index 153e9e3c8a..0000000000 --- a/compat/add/operator/mergeMapTo.ts +++ /dev/null @@ -1,13 +0,0 @@ - -import { Observable } from 'rxjs'; -import { mergeMapTo } from '../../operator/mergeMapTo'; - -(Observable as any).prototype.flatMapTo = mergeMapTo; -(Observable as any).prototype.mergeMapTo = mergeMapTo; - -declare module 'rxjs/internal/Observable' { - interface Observable { - flatMapTo: typeof mergeMapTo; - mergeMapTo: typeof mergeMapTo; - } -} diff --git a/compat/add/operator/mergeScan.ts b/compat/add/operator/mergeScan.ts deleted file mode 100644 index c14856555a..0000000000 --- a/compat/add/operator/mergeScan.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { mergeScan } from '../../operator/mergeScan'; - -(Observable as any).prototype.mergeScan = mergeScan; - -declare module 'rxjs/internal/Observable' { - interface Observable { - mergeScan: typeof mergeScan; - } -} diff --git a/compat/add/operator/min.ts b/compat/add/operator/min.ts deleted file mode 100644 index 1011b53ce1..0000000000 --- a/compat/add/operator/min.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { min } from '../../operator/min'; - -(Observable as any).prototype.min = min; - -declare module 'rxjs/internal/Observable' { - interface Observable { - min: typeof min; - } -} diff --git a/compat/add/operator/multicast.ts b/compat/add/operator/multicast.ts deleted file mode 100644 index 6bd8d50f1b..0000000000 --- a/compat/add/operator/multicast.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { multicast } from '../../operator/multicast'; - -(Observable as any).prototype.multicast = multicast; - -declare module 'rxjs/internal/Observable' { - interface Observable { - multicast: typeof multicast; - } -} diff --git a/compat/add/operator/observeOn.ts b/compat/add/operator/observeOn.ts deleted file mode 100644 index 1e9e6ca717..0000000000 --- a/compat/add/operator/observeOn.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { observeOn } from '../../operator/observeOn'; - -(Observable as any).prototype.observeOn = observeOn; - -declare module 'rxjs/internal/Observable' { - interface Observable { - observeOn: typeof observeOn; - } -} diff --git a/compat/add/operator/onErrorResumeNext.ts b/compat/add/operator/onErrorResumeNext.ts deleted file mode 100644 index 86f0a2167c..0000000000 --- a/compat/add/operator/onErrorResumeNext.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { onErrorResumeNext } from '../../operator/onErrorResumeNext'; - -(Observable as any).prototype.onErrorResumeNext = onErrorResumeNext; - -declare module 'rxjs/internal/Observable' { - interface Observable { - onErrorResumeNext: typeof onErrorResumeNext; - } -} diff --git a/compat/add/operator/pairwise.ts b/compat/add/operator/pairwise.ts deleted file mode 100644 index 3c8342aef8..0000000000 --- a/compat/add/operator/pairwise.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { pairwise } from '../../operator/pairwise'; - -(Observable as any).prototype.pairwise = pairwise; - -declare module 'rxjs/internal/Observable' { - interface Observable { - pairwise: typeof pairwise; - } -} diff --git a/compat/add/operator/partition.ts b/compat/add/operator/partition.ts deleted file mode 100644 index 27791c6a4d..0000000000 --- a/compat/add/operator/partition.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { partition } from '../../operator/partition'; - -(Observable as any).prototype.partition = partition; - -declare module 'rxjs/internal/Observable' { - interface Observable { - partition: typeof partition; - } -} diff --git a/compat/add/operator/pluck.ts b/compat/add/operator/pluck.ts deleted file mode 100644 index 28e58de8c2..0000000000 --- a/compat/add/operator/pluck.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { pluck } from '../../operator/pluck'; - -(Observable as any).prototype.pluck = pluck; - -declare module 'rxjs/internal/Observable' { - interface Observable { - pluck: typeof pluck; - } -} diff --git a/compat/add/operator/publish.ts b/compat/add/operator/publish.ts deleted file mode 100644 index 298d208a9e..0000000000 --- a/compat/add/operator/publish.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { publish } from '../../operator/publish'; - -(Observable as any).prototype.publish = publish; - -declare module 'rxjs/internal/Observable' { - interface Observable { - publish: typeof publish; - } -} diff --git a/compat/add/operator/publishBehavior.ts b/compat/add/operator/publishBehavior.ts deleted file mode 100644 index 768e8d6b00..0000000000 --- a/compat/add/operator/publishBehavior.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { publishBehavior } from '../../operator/publishBehavior'; - -(Observable as any).prototype.publishBehavior = publishBehavior; - -declare module 'rxjs/internal/Observable' { - interface Observable { - publishBehavior: typeof publishBehavior; - } -} diff --git a/compat/add/operator/publishLast.ts b/compat/add/operator/publishLast.ts deleted file mode 100644 index 7739b87c2f..0000000000 --- a/compat/add/operator/publishLast.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { publishLast } from '../../operator/publishLast'; - -(Observable as any).prototype.publishLast = publishLast; - -declare module 'rxjs/internal/Observable' { - interface Observable { - publishLast: typeof publishLast; - } -} diff --git a/compat/add/operator/publishReplay.ts b/compat/add/operator/publishReplay.ts deleted file mode 100644 index def25a751f..0000000000 --- a/compat/add/operator/publishReplay.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { publishReplay } from '../../operator/publishReplay'; - -(Observable as any).prototype.publishReplay = publishReplay; - -declare module 'rxjs/internal/Observable' { - interface Observable { - publishReplay: typeof publishReplay; - } -} diff --git a/compat/add/operator/race.ts b/compat/add/operator/race.ts deleted file mode 100644 index a3df75d55e..0000000000 --- a/compat/add/operator/race.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { race } from '../../operator/race'; - -(Observable as any).prototype.race = race; - -declare module 'rxjs/internal/Observable' { - interface Observable { - race: typeof race; - } -} diff --git a/compat/add/operator/reduce.ts b/compat/add/operator/reduce.ts deleted file mode 100644 index f1ec557df1..0000000000 --- a/compat/add/operator/reduce.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { reduce } from '../../operator/reduce'; - -(Observable as any).prototype.reduce = reduce; - -declare module 'rxjs/internal/Observable' { - interface Observable { - reduce: typeof reduce; - } -} diff --git a/compat/add/operator/repeat.ts b/compat/add/operator/repeat.ts deleted file mode 100644 index 5f87fc4390..0000000000 --- a/compat/add/operator/repeat.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { repeat } from '../../operator/repeat'; - -(Observable as any).prototype.repeat = repeat; - -declare module 'rxjs/internal/Observable' { - interface Observable { - repeat: typeof repeat; - } -} diff --git a/compat/add/operator/repeatWhen.ts b/compat/add/operator/repeatWhen.ts deleted file mode 100644 index 2fb0a6abc9..0000000000 --- a/compat/add/operator/repeatWhen.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { repeatWhen } from '../../operator/repeatWhen'; - -(Observable as any).prototype.repeatWhen = repeatWhen; - -declare module 'rxjs/internal/Observable' { - interface Observable { - repeatWhen: typeof repeatWhen; - } -} diff --git a/compat/add/operator/retry.ts b/compat/add/operator/retry.ts deleted file mode 100644 index a9a561519b..0000000000 --- a/compat/add/operator/retry.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { retry } from '../../operator/retry'; - -(Observable as any).prototype.retry = retry; - -declare module 'rxjs/internal/Observable' { - interface Observable { - retry: typeof retry; - } -} diff --git a/compat/add/operator/retryWhen.ts b/compat/add/operator/retryWhen.ts deleted file mode 100644 index c76fd07605..0000000000 --- a/compat/add/operator/retryWhen.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { retryWhen } from '../../operator/retryWhen'; - -(Observable as any).prototype.retryWhen = retryWhen; - -declare module 'rxjs/internal/Observable' { - interface Observable { - retryWhen: typeof retryWhen; - } -} diff --git a/compat/add/operator/sample.ts b/compat/add/operator/sample.ts deleted file mode 100644 index 83f18e8356..0000000000 --- a/compat/add/operator/sample.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { sample } from '../../operator/sample'; - -(Observable as any).prototype.sample = sample; - -declare module 'rxjs/internal/Observable' { - interface Observable { - sample: typeof sample; - } -} diff --git a/compat/add/operator/sampleTime.ts b/compat/add/operator/sampleTime.ts deleted file mode 100644 index 4efb038844..0000000000 --- a/compat/add/operator/sampleTime.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { sampleTime } from '../../operator/sampleTime'; - -(Observable as any).prototype.sampleTime = sampleTime; - -declare module 'rxjs/internal/Observable' { - interface Observable { - sampleTime: typeof sampleTime; - } -} diff --git a/compat/add/operator/scan.ts b/compat/add/operator/scan.ts deleted file mode 100644 index 2f85bff633..0000000000 --- a/compat/add/operator/scan.ts +++ /dev/null @@ -1,12 +0,0 @@ - -import { Observable } from 'rxjs'; - -import { scan } from '../../operator/scan'; - -(Observable as any).prototype.scan = scan; - -declare module 'rxjs/internal/Observable' { - interface Observable { - scan: typeof scan; - } -} diff --git a/compat/add/operator/sequenceEqual.ts b/compat/add/operator/sequenceEqual.ts deleted file mode 100644 index 2975deccdb..0000000000 --- a/compat/add/operator/sequenceEqual.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { sequenceEqual } from '../../operator/sequenceEqual'; - -(Observable as any).prototype.sequenceEqual = sequenceEqual; - -declare module 'rxjs/internal/Observable' { - interface Observable { - sequenceEqual: typeof sequenceEqual; - } -} diff --git a/compat/add/operator/share.ts b/compat/add/operator/share.ts deleted file mode 100644 index f9d5dbd672..0000000000 --- a/compat/add/operator/share.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { share } from '../../operator/share'; - -(Observable as any).prototype.share = share; - -declare module 'rxjs/internal/Observable' { - interface Observable { - share: typeof share; - } -} diff --git a/compat/add/operator/shareReplay.ts b/compat/add/operator/shareReplay.ts deleted file mode 100644 index f62b32ebca..0000000000 --- a/compat/add/operator/shareReplay.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { shareReplay } from '../../operator/shareReplay'; - -(Observable as any).prototype.shareReplay = shareReplay; - -declare module 'rxjs/internal/Observable' { - interface Observable { - shareReplay: typeof shareReplay; - } -} diff --git a/compat/add/operator/single.ts b/compat/add/operator/single.ts deleted file mode 100644 index 4eef4f46af..0000000000 --- a/compat/add/operator/single.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { single } from '../../operator/single'; - -(Observable as any).prototype.single = single; - -declare module 'rxjs/internal/Observable' { - interface Observable { - single: typeof single; - } -} diff --git a/compat/add/operator/skip.ts b/compat/add/operator/skip.ts deleted file mode 100644 index e5b11cf5f5..0000000000 --- a/compat/add/operator/skip.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { skip } from '../../operator/skip'; - -(Observable as any).prototype.skip = skip; - -declare module 'rxjs/internal/Observable' { - interface Observable { - skip: typeof skip; - } -} diff --git a/compat/add/operator/skipLast.ts b/compat/add/operator/skipLast.ts deleted file mode 100644 index 2cb6efd11b..0000000000 --- a/compat/add/operator/skipLast.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { skipLast } from '../../operator/skipLast'; - -(Observable as any).prototype.skipLast = skipLast; - -declare module 'rxjs/internal/Observable' { - interface Observable { - skipLast: typeof skipLast; - } -} diff --git a/compat/add/operator/skipUntil.ts b/compat/add/operator/skipUntil.ts deleted file mode 100644 index 779dcc1ac9..0000000000 --- a/compat/add/operator/skipUntil.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { skipUntil } from '../../operator/skipUntil'; - -(Observable as any).prototype.skipUntil = skipUntil; - -declare module 'rxjs/internal/Observable' { - interface Observable { - skipUntil: typeof skipUntil; - } -} diff --git a/compat/add/operator/skipWhile.ts b/compat/add/operator/skipWhile.ts deleted file mode 100644 index 52ab68b63e..0000000000 --- a/compat/add/operator/skipWhile.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { skipWhile } from '../../operator/skipWhile'; - -(Observable as any).prototype.skipWhile = skipWhile; - -declare module 'rxjs/internal/Observable' { - interface Observable { - skipWhile: typeof skipWhile; - } -} diff --git a/compat/add/operator/startWith.ts b/compat/add/operator/startWith.ts deleted file mode 100644 index bdedd0b001..0000000000 --- a/compat/add/operator/startWith.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { startWith } from '../../operator/startWith'; - -(Observable as any).prototype.startWith = startWith; - -declare module 'rxjs/internal/Observable' { - interface Observable { - startWith: typeof startWith; - } -} diff --git a/compat/add/operator/subscribeOn.ts b/compat/add/operator/subscribeOn.ts deleted file mode 100644 index 45cb50569c..0000000000 --- a/compat/add/operator/subscribeOn.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { subscribeOn } from '../../operator/subscribeOn'; - -(Observable as any).prototype.subscribeOn = subscribeOn; - -declare module 'rxjs/internal/Observable' { - interface Observable { - subscribeOn: typeof subscribeOn; - } -} diff --git a/compat/add/operator/switch.ts b/compat/add/operator/switch.ts deleted file mode 100644 index 326ecf4c25..0000000000 --- a/compat/add/operator/switch.ts +++ /dev/null @@ -1,13 +0,0 @@ - -import { Observable } from 'rxjs'; -import { _switch } from '../../operator/switch'; - -(Observable as any).prototype.switch = _switch; -(Observable as any).prototype._switch = _switch; - -declare module 'rxjs/internal/Observable' { - interface Observable { - switch: typeof _switch; - _switch: typeof _switch; - } -} diff --git a/compat/add/operator/switchMap.ts b/compat/add/operator/switchMap.ts deleted file mode 100644 index 43ef73a18b..0000000000 --- a/compat/add/operator/switchMap.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { switchMap } from '../../operator/switchMap'; - -(Observable as any).prototype.switchMap = switchMap; - -declare module 'rxjs/internal/Observable' { - interface Observable { - switchMap: typeof switchMap; - } -} diff --git a/compat/add/operator/switchMapTo.ts b/compat/add/operator/switchMapTo.ts deleted file mode 100644 index 2adf525382..0000000000 --- a/compat/add/operator/switchMapTo.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { switchMapTo } from '../../operator/switchMapTo'; - -(Observable as any).prototype.switchMapTo = switchMapTo; - -declare module 'rxjs/internal/Observable' { - interface Observable { - switchMapTo: typeof switchMapTo; - } -} diff --git a/compat/add/operator/take.ts b/compat/add/operator/take.ts deleted file mode 100644 index da0022682b..0000000000 --- a/compat/add/operator/take.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { take } from '../../operator/take'; - -(Observable as any).prototype.take = take; - -declare module 'rxjs/internal/Observable' { - interface Observable { - take: typeof take; - } -} diff --git a/compat/add/operator/takeLast.ts b/compat/add/operator/takeLast.ts deleted file mode 100644 index 8f0a130d8e..0000000000 --- a/compat/add/operator/takeLast.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { takeLast } from '../../operator/takeLast'; - -(Observable as any).prototype.takeLast = takeLast; - -declare module 'rxjs/internal/Observable' { - interface Observable { - takeLast: typeof takeLast; - } -} diff --git a/compat/add/operator/takeUntil.ts b/compat/add/operator/takeUntil.ts deleted file mode 100644 index ae579c08c4..0000000000 --- a/compat/add/operator/takeUntil.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { takeUntil } from '../../operator/takeUntil'; - -(Observable as any).prototype.takeUntil = takeUntil; - -declare module 'rxjs/internal/Observable' { - interface Observable { - takeUntil: typeof takeUntil; - } -} diff --git a/compat/add/operator/takeWhile.ts b/compat/add/operator/takeWhile.ts deleted file mode 100644 index c384fb6739..0000000000 --- a/compat/add/operator/takeWhile.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { takeWhile } from '../../operator/takeWhile'; - -(Observable as any).prototype.takeWhile = takeWhile; - -declare module 'rxjs/internal/Observable' { - interface Observable { - takeWhile: typeof takeWhile; - } -} diff --git a/compat/add/operator/throttle.ts b/compat/add/operator/throttle.ts deleted file mode 100644 index 3e36c05353..0000000000 --- a/compat/add/operator/throttle.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { throttle } from '../../operator/throttle'; - -(Observable as any).prototype.throttle = throttle; - -declare module 'rxjs/internal/Observable' { - interface Observable { - throttle: typeof throttle; - } -} diff --git a/compat/add/operator/throttleTime.ts b/compat/add/operator/throttleTime.ts deleted file mode 100644 index bd09ac951f..0000000000 --- a/compat/add/operator/throttleTime.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { throttleTime } from '../../operator/throttleTime'; - -(Observable as any).prototype.throttleTime = throttleTime; - -declare module 'rxjs/internal/Observable' { - interface Observable { - throttleTime: typeof throttleTime; - } -} diff --git a/compat/add/operator/timeInterval.ts b/compat/add/operator/timeInterval.ts deleted file mode 100644 index 1d9d7459c5..0000000000 --- a/compat/add/operator/timeInterval.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { timeInterval } from '../../operator/timeInterval'; - -(Observable as any).prototype.timeInterval = timeInterval; - -declare module 'rxjs/internal/Observable' { - interface Observable { - timeInterval: typeof timeInterval; - } -} diff --git a/compat/add/operator/timeout.ts b/compat/add/operator/timeout.ts deleted file mode 100644 index e80148e5a1..0000000000 --- a/compat/add/operator/timeout.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { timeout } from '../../operator/timeout'; - -(Observable as any).prototype.timeout = timeout; - -declare module 'rxjs/internal/Observable' { - interface Observable { - timeout: typeof timeout; - } -} diff --git a/compat/add/operator/timeoutWith.ts b/compat/add/operator/timeoutWith.ts deleted file mode 100644 index 4ef71d340d..0000000000 --- a/compat/add/operator/timeoutWith.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { timeoutWith } from '../../operator/timeoutWith'; - -(Observable as any).prototype.timeoutWith = timeoutWith; - -declare module 'rxjs/internal/Observable' { - interface Observable { - timeoutWith: typeof timeoutWith; - } -} diff --git a/compat/add/operator/timestamp.ts b/compat/add/operator/timestamp.ts deleted file mode 100644 index d67227d3c2..0000000000 --- a/compat/add/operator/timestamp.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { timestamp } from '../../operator/timestamp'; - -(Observable as any).prototype.timestamp = timestamp; - -declare module 'rxjs/internal/Observable' { - interface Observable { - timestamp: typeof timestamp; - } -} diff --git a/compat/add/operator/toArray.ts b/compat/add/operator/toArray.ts deleted file mode 100644 index bf4b5233e0..0000000000 --- a/compat/add/operator/toArray.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { toArray } from '../../operator/toArray'; - -(Observable as any).prototype.toArray = toArray; - -declare module 'rxjs/internal/Observable' { - interface Observable { - toArray: typeof toArray; - } -} diff --git a/compat/add/operator/toPromise.ts b/compat/add/operator/toPromise.ts deleted file mode 100644 index 9f3002f2bb..0000000000 --- a/compat/add/operator/toPromise.ts +++ /dev/null @@ -1,2 +0,0 @@ -// HACK: does nothing, because `toPromise` now lives on the `Observable` itself. -// leaving this module here to prevent breakage. diff --git a/compat/add/operator/window.ts b/compat/add/operator/window.ts deleted file mode 100644 index ca207bb809..0000000000 --- a/compat/add/operator/window.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { window } from '../../operator/window'; - -(Observable as any).prototype.window = window; - -declare module 'rxjs/internal/Observable' { - interface Observable { - window: typeof window; - } -} diff --git a/compat/add/operator/windowCount.ts b/compat/add/operator/windowCount.ts deleted file mode 100644 index 68bee4c140..0000000000 --- a/compat/add/operator/windowCount.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { windowCount } from '../../operator/windowCount'; - -(Observable as any).prototype.windowCount = windowCount; - -declare module 'rxjs/internal/Observable' { - interface Observable { - windowCount: typeof windowCount; - } -} diff --git a/compat/add/operator/windowTime.ts b/compat/add/operator/windowTime.ts deleted file mode 100644 index fa0ad789a8..0000000000 --- a/compat/add/operator/windowTime.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { windowTime } from '../../operator/windowTime'; - -(Observable as any).prototype.windowTime = windowTime; - -declare module 'rxjs/internal/Observable' { - interface Observable { - windowTime: typeof windowTime; - } -} diff --git a/compat/add/operator/windowToggle.ts b/compat/add/operator/windowToggle.ts deleted file mode 100644 index c4f57febb6..0000000000 --- a/compat/add/operator/windowToggle.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { windowToggle } from '../../operator/windowToggle'; - -(Observable as any).prototype.windowToggle = windowToggle; - -declare module 'rxjs/internal/Observable' { - interface Observable { - windowToggle: typeof windowToggle; - } -} diff --git a/compat/add/operator/windowWhen.ts b/compat/add/operator/windowWhen.ts deleted file mode 100644 index 5c76a93b63..0000000000 --- a/compat/add/operator/windowWhen.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { windowWhen } from '../../operator/windowWhen'; - -(Observable as any).prototype.windowWhen = windowWhen; - -declare module 'rxjs/internal/Observable' { - interface Observable { - windowWhen: typeof windowWhen; - } -} diff --git a/compat/add/operator/withLatestFrom.ts b/compat/add/operator/withLatestFrom.ts deleted file mode 100644 index b05e476919..0000000000 --- a/compat/add/operator/withLatestFrom.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { withLatestFrom } from '../../operator/withLatestFrom'; - -(Observable as any).prototype.withLatestFrom = withLatestFrom; - -declare module 'rxjs/internal/Observable' { - interface Observable { - withLatestFrom: typeof withLatestFrom; - } -} diff --git a/compat/add/operator/zip.ts b/compat/add/operator/zip.ts deleted file mode 100644 index ed790480d7..0000000000 --- a/compat/add/operator/zip.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { zipProto } from '../../operator/zip'; - -(Observable as any).prototype.zip = zipProto; - -declare module 'rxjs/internal/Observable' { - interface Observable { - zip: typeof zipProto; - } -} diff --git a/compat/add/operator/zipAll.ts b/compat/add/operator/zipAll.ts deleted file mode 100644 index 87b65d4378..0000000000 --- a/compat/add/operator/zipAll.ts +++ /dev/null @@ -1,11 +0,0 @@ - -import { Observable } from 'rxjs'; -import { zipAll } from '../../operator/zipAll'; - -(Observable as any).prototype.zipAll = zipAll; - -declare module 'rxjs/internal/Observable' { - interface Observable { - zipAll: typeof zipAll; - } -} diff --git a/compat/index.ts b/compat/index.ts deleted file mode 100644 index 20522faff7..0000000000 --- a/compat/index.ts +++ /dev/null @@ -1,2 +0,0 @@ - -export * from './Rx'; diff --git a/compat/interfaces.ts b/compat/interfaces.ts deleted file mode 100644 index 2da3964881..0000000000 --- a/compat/interfaces.ts +++ /dev/null @@ -1 +0,0 @@ -export { UnaryFunction, OperatorFunction, FactoryOrValue, MonoTypeOperatorFunction } from 'rxjs'; \ No newline at end of file diff --git a/compat/observable/ArrayLikeObservable.ts b/compat/observable/ArrayLikeObservable.ts deleted file mode 100644 index 1c1438b3cc..0000000000 --- a/compat/observable/ArrayLikeObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, from } from 'rxjs'; - -export class ArrayLikeObservable extends Observable { - static create(arrayLike: ArrayLike, scheduler?: SchedulerLike): Observable { - return from(arrayLike, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/ArrayObservable.ts b/compat/observable/ArrayObservable.ts deleted file mode 100644 index 6227c65487..0000000000 --- a/compat/observable/ArrayObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, from } from 'rxjs'; - -export class ArrayObservable extends Observable { - static create(array: T[], scheduler?: SchedulerLike) { - return from(array, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/BoundCallbackObservable.ts b/compat/observable/BoundCallbackObservable.ts deleted file mode 100644 index 37df7370b0..0000000000 --- a/compat/observable/BoundCallbackObservable.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Observable, SchedulerLike, bindCallback } from 'rxjs'; - -export class BoundCallbackObservable extends Observable { - /* tslint:disable:max-line-length */ - static create(callbackFunc: (callback: () => any) => any, selector?: void, scheduler?: SchedulerLike): () => Observable; - static create(callbackFunc: (callback: (result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): () => Observable; - static create(callbackFunc: (v1: T, callback: (result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T) => Observable; - static create(callbackFunc: (v1: T, v2: T2, callback: (result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, callback: (result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, callback: (result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, callback: (result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6, callback: (result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => Observable; - static create(callbackFunc: (callback: (...args: any[]) => any) => any, selector: (...args: any[]) => R, scheduler?: SchedulerLike): () => Observable; - static create(callbackFunc: (v1: T, callback: (...args: any[]) => any) => any, selector: (...args: any[]) => R, scheduler?: SchedulerLike): (v1: T) => Observable; - static create(callbackFunc: (v1: T, v2: T2, callback: (...args: any[]) => any) => any, selector: (...args: any[]) => R, scheduler?: SchedulerLike): (v1: T, v2: T2) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, callback: (...args: any[]) => any) => any, selector: (...args: any[]) => R, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, callback: (...args: any[]) => any) => any, selector: (...args: any[]) => R, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, callback: (...args: any[]) => any) => any, selector: (...args: any[]) => R, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6, callback: (...args: any[]) => any) => any, selector: (...args: any[]) => R, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => Observable; - static create(callbackFunc: Function, selector?: void, scheduler?: SchedulerLike): (...args: any[]) => Observable; - static create(callbackFunc: Function, selector?: (...args: any[]) => T, scheduler?: SchedulerLike): (...args: any[]) => Observable; - /* tslint:enable:max-line-length */ - static create(func: Function, - selector: Function | void = undefined, - scheduler?: SchedulerLike): (...args: any[]) => Observable { - return bindCallback(func, selector, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/BoundNodeCallbackObservable.ts b/compat/observable/BoundNodeCallbackObservable.ts deleted file mode 100644 index 9a5a0aa762..0000000000 --- a/compat/observable/BoundNodeCallbackObservable.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Observable, SchedulerLike, bindNodeCallback } from 'rxjs'; - -export class BoundNodeCallbackObservable extends Observable { - /* tslint:disable:max-line-length */ - static create(callbackFunc: (callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): () => Observable; - static create(callbackFunc: (v1: T, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T) => Observable; - static create(callbackFunc: (v1: T, v2: T2, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => Observable; - static create(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: SchedulerLike): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => Observable; - static create(callbackFunc: Function, selector?: void, scheduler?: SchedulerLike): (...args: any[]) => Observable; - static create(callbackFunc: Function, selector?: (...args: any[]) => T, scheduler?: SchedulerLike): (...args: any[]) => Observable; - /* tslint:enable:max-line-length */ - static create(func: Function, - selector: Function | void = undefined, - scheduler?: SchedulerLike): (...args: any[]) => Observable { - return bindNodeCallback(func, selector, scheduler); - } -} diff --git a/compat/observable/ConnectableObservable.ts b/compat/observable/ConnectableObservable.ts deleted file mode 100644 index 48c94af1cc..0000000000 --- a/compat/observable/ConnectableObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export { ConnectableObservable } from 'rxjs'; diff --git a/compat/observable/DeferObservable.ts b/compat/observable/DeferObservable.ts deleted file mode 100644 index 32672e2f52..0000000000 --- a/compat/observable/DeferObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SubscribableOrPromise, defer } from 'rxjs'; - -export class DeferObservable extends Observable { - static create(observableFactory: () => SubscribableOrPromise | void): Observable { - return defer(observableFactory); - } -} \ No newline at end of file diff --git a/compat/observable/EmptyObservable.ts b/compat/observable/EmptyObservable.ts deleted file mode 100644 index 4c992a3292..0000000000 --- a/compat/observable/EmptyObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, empty } from 'rxjs'; - -export class EmptyObservable extends Observable { - static create(scheduler?: SchedulerLike): Observable { - return empty(scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/ErrorObservable.ts b/compat/observable/ErrorObservable.ts deleted file mode 100644 index 3e98ca7fa2..0000000000 --- a/compat/observable/ErrorObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, throwError } from 'rxjs'; - -export class ErrorObservable extends Observable { - static create(error: any, scheduler?: SchedulerLike) { - return throwError(error, scheduler); - } -} diff --git a/compat/observable/ForkJoinObservable.ts b/compat/observable/ForkJoinObservable.ts deleted file mode 100644 index 0bc3a4cbe7..0000000000 --- a/compat/observable/ForkJoinObservable.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Observable, SubscribableOrPromise, forkJoin } from 'rxjs'; - -export class ForkJoinObservable extends Observable { - /* tslint:disable:max-line-length */ - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise): Observable<[T, T2]>; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, v3: SubscribableOrPromise): Observable<[T, T2, T3]>; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, v3: SubscribableOrPromise, v4: SubscribableOrPromise): Observable<[T, T2, T3, T4]>; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, v3: SubscribableOrPromise, v4: SubscribableOrPromise, v5: SubscribableOrPromise): Observable<[T, T2, T3, T4, T5]>; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, v3: SubscribableOrPromise, v4: SubscribableOrPromise, v5: SubscribableOrPromise, v6: SubscribableOrPromise): Observable<[T, T2, T3, T4, T5, T6]>; - static create(v1: SubscribableOrPromise, project: (v1: T) => R): Observable; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, project: (v1: T, v2: T2) => R): Observable; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, v3: SubscribableOrPromise, project: (v1: T, v2: T2, v3: T3) => R): Observable; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, v3: SubscribableOrPromise, v4: SubscribableOrPromise, project: (v1: T, v2: T2, v3: T3, v4: T4) => R): Observable; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, v3: SubscribableOrPromise, v4: SubscribableOrPromise, v5: SubscribableOrPromise, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R): Observable; - static create(v1: SubscribableOrPromise, v2: SubscribableOrPromise, v3: SubscribableOrPromise, v4: SubscribableOrPromise, v5: SubscribableOrPromise, v6: SubscribableOrPromise, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R): Observable; - static create(sources: SubscribableOrPromise[]): Observable; - static create(sources: SubscribableOrPromise[]): Observable; - static create(sources: SubscribableOrPromise[], project: (...values: Array) => R): Observable; - static create(sources: SubscribableOrPromise[], project: (...values: Array) => R): Observable; - static create(...sources: SubscribableOrPromise[]): Observable; - static create(...sources: SubscribableOrPromise[]): Observable; - /* tslint:enable:max-line-length */ - - static create(...sources: Array | - Array> | - ((...values: Array) => any)>): Observable { - return forkJoin(...sources); - } -} \ No newline at end of file diff --git a/compat/observable/FromEventObservable.ts b/compat/observable/FromEventObservable.ts deleted file mode 100644 index 575bde015d..0000000000 --- a/compat/observable/FromEventObservable.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Observable, fromEvent } from 'rxjs'; -import { EventTargetLike } from 'rxjs/internal-compatibility'; - -export class FromEventObservable extends Observable { - /* tslint:disable:max-line-length */ - static create(target: EventTargetLike, eventName: string): Observable; - static create(target: EventTargetLike, eventName: string, selector: ((...args: any[]) => T)): Observable; - static create(target: EventTargetLike, eventName: string, options: EventListenerOptions): Observable; - static create(target: EventTargetLike, eventName: string, options: EventListenerOptions, selector: ((...args: any[]) => T)): Observable; - /* tslint:enable:max-line-length */ - - static create(target: EventTargetLike, - eventName: string, - options?: EventListenerOptions | ((...args: any[]) => T), - selector?: ((...args: any[]) => T)): Observable { - return fromEvent(target, eventName, options as EventListenerOptions, selector); - } -} diff --git a/compat/observable/FromEventPatternObservable.ts b/compat/observable/FromEventPatternObservable.ts deleted file mode 100644 index b2b10071c3..0000000000 --- a/compat/observable/FromEventPatternObservable.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, fromEventPattern } from 'rxjs'; - -export class FromEventPatternObservable extends Observable { - static create(addHandler: (handler: Function) => any, - removeHandler?: (handler: Function, signal?: any) => void, - selector?: (...args: Array) => T) { - return fromEventPattern(addHandler, removeHandler, selector); - } -} \ No newline at end of file diff --git a/compat/observable/FromObservable.ts b/compat/observable/FromObservable.ts deleted file mode 100644 index b4c360d9d7..0000000000 --- a/compat/observable/FromObservable.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, ObservableInput, SchedulerLike, from } from 'rxjs'; - -export class FromObservable extends Observable { - static create(ish: ObservableInput, scheduler?: SchedulerLike): Observable; - static create(ish: ArrayLike, scheduler?: SchedulerLike): Observable; - static create(ish: ObservableInput, scheduler?: SchedulerLike): Observable { - return from(ish, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/GenerateObservable.ts b/compat/observable/GenerateObservable.ts deleted file mode 100644 index bb9cd02efc..0000000000 --- a/compat/observable/GenerateObservable.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Observable, SchedulerLike, generate } from 'rxjs'; -import { ConditionFunc, IterateFunc, ResultFunc, GenerateBaseOptions, GenerateOptions } from 'rxjs/internal-compatibility'; - -export class GenerateObservable extends Observable { - /* tslint:disable:max-line-length */ - static create(initialState: S, condition: ConditionFunc, iterate: IterateFunc, resultSelector: ResultFunc, scheduler?: SchedulerLike): Observable; - static create(initialState: S, condition: ConditionFunc, iterate: IterateFunc, scheduler?: SchedulerLike): Observable; - static create(options: GenerateBaseOptions): Observable; - static create(options: GenerateOptions): Observable; - /* tslint:enable:max-line-length */ - - static create(initialStateOrOptions: S | GenerateOptions, - condition?: ConditionFunc, - iterate?: IterateFunc, - resultSelectorOrObservable?: (ResultFunc) | SchedulerLike, - scheduler?: SchedulerLike): Observable { - return generate(initialStateOrOptions, condition, iterate, >resultSelectorOrObservable, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/IfObservable.ts b/compat/observable/IfObservable.ts deleted file mode 100644 index e000027e44..0000000000 --- a/compat/observable/IfObservable.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, SubscribableOrPromise, iif } from 'rxjs'; - -export class IfObservable extends Observable { - static create(condition: () => boolean | void, - thenSource?: SubscribableOrPromise | void, - elseSource?: SubscribableOrPromise | void): Observable { - return iif(<() => boolean>condition, >thenSource, >elseSource); - } -} \ No newline at end of file diff --git a/compat/observable/IntervalObservable.ts b/compat/observable/IntervalObservable.ts deleted file mode 100644 index 0215d34154..0000000000 --- a/compat/observable/IntervalObservable.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Observable, SchedulerLike, asyncScheduler, interval } from 'rxjs'; - -export class IntervalObservable extends Observable { - static create(period: number = 0, - scheduler: SchedulerLike = asyncScheduler): Observable { - return interval(period, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/IteratorObservable.ts b/compat/observable/IteratorObservable.ts deleted file mode 100644 index bfcbe5d913..0000000000 --- a/compat/observable/IteratorObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, from } from 'rxjs'; - -export class IteratorObservable extends Observable { - static create(iterable: Iterable, scheduler?: SchedulerLike) { - return from(iterable, scheduler); - } -} diff --git a/compat/observable/NeverObservable.ts b/compat/observable/NeverObservable.ts deleted file mode 100644 index 9b4a8b763e..0000000000 --- a/compat/observable/NeverObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, NEVER } from 'rxjs'; - -export class NeverObservable extends Observable { - static create() { - return NEVER; - } -} \ No newline at end of file diff --git a/compat/observable/PairsObservable.ts b/compat/observable/PairsObservable.ts deleted file mode 100644 index 59003597a4..0000000000 --- a/compat/observable/PairsObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, pairs } from 'rxjs'; - -export class PairsObservable extends Observable { - static create(obj: Object, scheduler?: SchedulerLike): Observable<(string | T)[]> { - return pairs(obj, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/PromiseObservable.ts b/compat/observable/PromiseObservable.ts deleted file mode 100644 index 0da931d724..0000000000 --- a/compat/observable/PromiseObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, from } from 'rxjs'; - -export class PromiseObservable extends Observable { - static create(promise: PromiseLike, scheduler?: SchedulerLike): Observable { - return from(promise, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/RangeObservable.ts b/compat/observable/RangeObservable.ts deleted file mode 100644 index d269f573a5..0000000000 --- a/compat/observable/RangeObservable.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, SchedulerLike, range } from 'rxjs'; - -export class RangeObservable extends Observable { - static create(start: number = 0, - count: number = 0, - scheduler?: SchedulerLike): Observable { - return range(start, count, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/ScalarObservable.ts b/compat/observable/ScalarObservable.ts deleted file mode 100644 index 63f1d0660a..0000000000 --- a/compat/observable/ScalarObservable.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, SchedulerLike, of } from 'rxjs'; - -export class ScalarObservable extends Observable { - static create(value: T, scheduler?: SchedulerLike) { - return arguments.length > 1 ? of(value, scheduler) : of(value); - } -} \ No newline at end of file diff --git a/compat/observable/SubscribeOnObservable.ts b/compat/observable/SubscribeOnObservable.ts deleted file mode 100644 index c9175d4ba1..0000000000 --- a/compat/observable/SubscribeOnObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export { SubscribeOnObservable } from 'rxjs/internal-compatibility'; diff --git a/compat/observable/TimerObservable.ts b/compat/observable/TimerObservable.ts deleted file mode 100644 index b6b0ae9b78..0000000000 --- a/compat/observable/TimerObservable.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable, SchedulerLike, timer } from 'rxjs'; - -export class TimerObservable extends Observable { - static create(initialDelay: number | Date = 0, - period?: number | SchedulerLike, - scheduler?: SchedulerLike): Observable { - return timer(initialDelay, period, scheduler); - } -} \ No newline at end of file diff --git a/compat/observable/UsingObservable.ts b/compat/observable/UsingObservable.ts deleted file mode 100644 index 468875f577..0000000000 --- a/compat/observable/UsingObservable.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Observable, Unsubscribable, SubscribableOrPromise, using } from 'rxjs'; - -export class UsingObservable extends Observable { - static create(resourceFactory: () => Unsubscribable | void, - observableFactory: (resource: Unsubscribable | void) => SubscribableOrPromise | void): Observable { - return using(resourceFactory, observableFactory); - } -} \ No newline at end of file diff --git a/compat/observable/bindCallback.ts b/compat/observable/bindCallback.ts deleted file mode 100644 index cb385f99e4..0000000000 --- a/compat/observable/bindCallback.ts +++ /dev/null @@ -1 +0,0 @@ -export { bindCallback } from 'rxjs'; diff --git a/compat/observable/bindNodeCallback.ts b/compat/observable/bindNodeCallback.ts deleted file mode 100644 index 6c8de8d646..0000000000 --- a/compat/observable/bindNodeCallback.ts +++ /dev/null @@ -1 +0,0 @@ -export { bindNodeCallback } from 'rxjs'; diff --git a/compat/observable/combineLatest.ts b/compat/observable/combineLatest.ts deleted file mode 100644 index cf31f18105..0000000000 --- a/compat/observable/combineLatest.ts +++ /dev/null @@ -1 +0,0 @@ -export { combineLatest } from 'rxjs'; diff --git a/compat/observable/concat.ts b/compat/observable/concat.ts deleted file mode 100644 index 7980da4884..0000000000 --- a/compat/observable/concat.ts +++ /dev/null @@ -1 +0,0 @@ -export { concat } from 'rxjs'; diff --git a/compat/observable/defer.ts b/compat/observable/defer.ts deleted file mode 100644 index fdc3cef98d..0000000000 --- a/compat/observable/defer.ts +++ /dev/null @@ -1 +0,0 @@ -export { defer } from 'rxjs'; diff --git a/compat/observable/dom/AjaxObservable.ts b/compat/observable/dom/AjaxObservable.ts deleted file mode 100644 index 7217020e91..0000000000 --- a/compat/observable/dom/AjaxObservable.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { AjaxRequest, AjaxCreationMethod, ajaxGet, ajaxPost, ajaxDelete, ajaxPut, ajaxPatch, ajaxGetJSON, - AjaxObservable, AjaxSubscriber, AjaxResponse, AjaxError, AjaxTimeoutError } from 'rxjs/internal-compatibility'; \ No newline at end of file diff --git a/compat/observable/dom/WebSocketSubject.ts b/compat/observable/dom/WebSocketSubject.ts deleted file mode 100644 index 59c5f955b4..0000000000 --- a/compat/observable/dom/WebSocketSubject.ts +++ /dev/null @@ -1 +0,0 @@ -export { WebSocketSubjectConfig, WebSocketSubject } from 'rxjs/internal-compatibility'; \ No newline at end of file diff --git a/compat/observable/dom/ajax.ts b/compat/observable/dom/ajax.ts deleted file mode 100644 index 21a744ea79..0000000000 --- a/compat/observable/dom/ajax.ts +++ /dev/null @@ -1 +0,0 @@ -export { ajax } from 'rxjs/internal-compatibility'; \ No newline at end of file diff --git a/compat/observable/dom/webSocket.ts b/compat/observable/dom/webSocket.ts deleted file mode 100644 index 76354932ae..0000000000 --- a/compat/observable/dom/webSocket.ts +++ /dev/null @@ -1 +0,0 @@ -export { webSocket } from 'rxjs/internal-compatibility'; \ No newline at end of file diff --git a/compat/observable/empty.ts b/compat/observable/empty.ts deleted file mode 100644 index f4e2468d7c..0000000000 --- a/compat/observable/empty.ts +++ /dev/null @@ -1 +0,0 @@ -export { empty } from 'rxjs'; diff --git a/compat/observable/forkJoin.ts b/compat/observable/forkJoin.ts deleted file mode 100644 index 91e77b0cf8..0000000000 --- a/compat/observable/forkJoin.ts +++ /dev/null @@ -1 +0,0 @@ -export { forkJoin } from 'rxjs'; diff --git a/compat/observable/from.ts b/compat/observable/from.ts deleted file mode 100644 index d3b18dd937..0000000000 --- a/compat/observable/from.ts +++ /dev/null @@ -1 +0,0 @@ -export { from } from 'rxjs'; diff --git a/compat/observable/fromArray.ts b/compat/observable/fromArray.ts deleted file mode 100644 index 16b338f283..0000000000 --- a/compat/observable/fromArray.ts +++ /dev/null @@ -1 +0,0 @@ -export { from as fromArray } from 'rxjs'; diff --git a/compat/observable/fromEvent.ts b/compat/observable/fromEvent.ts deleted file mode 100644 index 3d63d9efb0..0000000000 --- a/compat/observable/fromEvent.ts +++ /dev/null @@ -1 +0,0 @@ -export { fromEvent } from 'rxjs'; diff --git a/compat/observable/fromEventPattern.ts b/compat/observable/fromEventPattern.ts deleted file mode 100644 index 9746a4e71f..0000000000 --- a/compat/observable/fromEventPattern.ts +++ /dev/null @@ -1 +0,0 @@ -export { fromEventPattern } from 'rxjs'; diff --git a/compat/observable/fromIterable.ts b/compat/observable/fromIterable.ts deleted file mode 100644 index 026b809bd2..0000000000 --- a/compat/observable/fromIterable.ts +++ /dev/null @@ -1 +0,0 @@ -export { fromIterable } from 'rxjs/internal-compatibility'; diff --git a/compat/observable/fromPromise.ts b/compat/observable/fromPromise.ts deleted file mode 100644 index bcb38f4bcb..0000000000 --- a/compat/observable/fromPromise.ts +++ /dev/null @@ -1 +0,0 @@ -export { from as fromPromise } from 'rxjs'; diff --git a/compat/observable/generate.ts b/compat/observable/generate.ts deleted file mode 100644 index aae6ad6176..0000000000 --- a/compat/observable/generate.ts +++ /dev/null @@ -1 +0,0 @@ -export { generate } from 'rxjs'; diff --git a/compat/observable/if.ts b/compat/observable/if.ts deleted file mode 100644 index 00c2fe91ce..0000000000 --- a/compat/observable/if.ts +++ /dev/null @@ -1 +0,0 @@ -export { iif as _if } from 'rxjs'; diff --git a/compat/observable/interval.ts b/compat/observable/interval.ts deleted file mode 100644 index d78563f5b2..0000000000 --- a/compat/observable/interval.ts +++ /dev/null @@ -1 +0,0 @@ -export { interval } from 'rxjs'; diff --git a/compat/observable/merge.ts b/compat/observable/merge.ts deleted file mode 100644 index 2644a9abb1..0000000000 --- a/compat/observable/merge.ts +++ /dev/null @@ -1 +0,0 @@ -export { merge } from 'rxjs'; diff --git a/compat/observable/never.ts b/compat/observable/never.ts deleted file mode 100644 index 56404ef4a7..0000000000 --- a/compat/observable/never.ts +++ /dev/null @@ -1 +0,0 @@ -export { never } from 'rxjs'; diff --git a/compat/observable/of.ts b/compat/observable/of.ts deleted file mode 100644 index 092962f422..0000000000 --- a/compat/observable/of.ts +++ /dev/null @@ -1 +0,0 @@ -export { of } from 'rxjs'; diff --git a/compat/observable/onErrorResumeNext.ts b/compat/observable/onErrorResumeNext.ts deleted file mode 100644 index 03134df22f..0000000000 --- a/compat/observable/onErrorResumeNext.ts +++ /dev/null @@ -1 +0,0 @@ -export { onErrorResumeNext } from 'rxjs'; diff --git a/compat/observable/pairs.ts b/compat/observable/pairs.ts deleted file mode 100644 index 71d39cacf4..0000000000 --- a/compat/observable/pairs.ts +++ /dev/null @@ -1 +0,0 @@ -export { pairs } from 'rxjs'; diff --git a/compat/observable/race.ts b/compat/observable/race.ts deleted file mode 100644 index 5b7f0e4e89..0000000000 --- a/compat/observable/race.ts +++ /dev/null @@ -1 +0,0 @@ -export { race } from 'rxjs'; diff --git a/compat/observable/range.ts b/compat/observable/range.ts deleted file mode 100644 index be9c2f48f4..0000000000 --- a/compat/observable/range.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { range } from 'rxjs'; -export { dispatch } from 'rxjs/internal-compatibility'; diff --git a/compat/observable/throw.ts b/compat/observable/throw.ts deleted file mode 100644 index 334241724d..0000000000 --- a/compat/observable/throw.ts +++ /dev/null @@ -1 +0,0 @@ -export { throwError as _throw } from 'rxjs'; diff --git a/compat/observable/timer.ts b/compat/observable/timer.ts deleted file mode 100644 index 7a5a8e0376..0000000000 --- a/compat/observable/timer.ts +++ /dev/null @@ -1 +0,0 @@ -export { timer } from 'rxjs'; diff --git a/compat/observable/using.ts b/compat/observable/using.ts deleted file mode 100644 index 2970164f19..0000000000 --- a/compat/observable/using.ts +++ /dev/null @@ -1 +0,0 @@ -export { using } from 'rxjs'; diff --git a/compat/observable/zip.ts b/compat/observable/zip.ts deleted file mode 100644 index f1089a8fd3..0000000000 --- a/compat/observable/zip.ts +++ /dev/null @@ -1 +0,0 @@ -export { zip } from 'rxjs'; diff --git a/compat/operator/audit.ts b/compat/operator/audit.ts deleted file mode 100644 index 07d9005671..0000000000 --- a/compat/operator/audit.ts +++ /dev/null @@ -1,47 +0,0 @@ - -import { Observable, SubscribableOrPromise } from 'rxjs'; -import { audit as higherOrder } from 'rxjs/operators'; - -/** - * Ignores source values for a duration determined by another Observable, then - * emits the most recent value from the source Observable, then repeats this - * process. - * - * It's like {@link auditTime}, but the silencing - * duration is determined by a second Observable. - * - * - * - * `audit` is similar to `throttle`, but emits the last value from the silenced - * time window, instead of the first value. `audit` emits the most recent value - * from the source Observable on the output Observable as soon as its internal - * timer becomes disabled, and ignores source values while the timer is enabled. - * Initially, the timer is disabled. As soon as the first source value arrives, - * the timer is enabled by calling the `durationSelector` function with the - * source value, which returns the "duration" Observable. When the duration - * Observable emits a value or completes, the timer is disabled, then the most - * recent source value is emitted on the output Observable, and this process - * repeats for the next source value. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.audit(ev => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounce} - * @see {@link delayWhen} - * @see {@link sample} - * @see {@link throttle} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the silencing - * duration, returned as an Observable or a Promise. - * @return {Observable} An Observable that performs rate-limiting of - * emissions from the source Observable. - * @method audit - * @owner Observable - */ -export function audit(this: Observable, durationSelector: (value: T) => SubscribableOrPromise): Observable { - return higherOrder(durationSelector)(this); -} diff --git a/compat/operator/auditTime.ts b/compat/operator/auditTime.ts deleted file mode 100644 index d1317b19e6..0000000000 --- a/compat/operator/auditTime.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Observable, SchedulerLike, asyncScheduler } from 'rxjs'; -import { auditTime as higherOrder } from 'rxjs/operators'; - -/** - * Ignores source values for `duration` milliseconds, then emits the most recent - * value from the source Observable, then repeats this process. - * - * When it sees a source values, it ignores that plus - * the next ones for `duration` milliseconds, and then it emits the most recent - * value from the source. - * - * - * - * `auditTime` is similar to `throttleTime`, but emits the last value from the - * silenced time window, instead of the first value. `auditTime` emits the most - * recent value from the source Observable on the output Observable as soon as - * its internal timer becomes disabled, and ignores source values while the - * timer is enabled. Initially, the timer is disabled. As soon as the first - * source value arrives, the timer is enabled. After `duration` milliseconds (or - * the time unit determined internally by the optional `scheduler`) has passed, - * the timer is disabled, then the most recent source value is emitted on the - * output Observable, and this process repeats for the next source value. - * Optionally takes a {@link IScheduler} for managing timers. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.auditTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttleTime} - * - * @param {number} duration Time to wait before emitting the most recent source - * value, measured in milliseconds or the time unit determined internally - * by the optional `scheduler`. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the rate-limiting behavior. - * @return {Observable} An Observable that performs rate-limiting of - * emissions from the source Observable. - * @method auditTime - * @owner Observable - */ -export function auditTime(this: Observable, duration: number, scheduler: SchedulerLike = asyncScheduler): Observable { - return higherOrder(duration, scheduler)(this) as Observable; -} diff --git a/compat/operator/buffer.ts b/compat/operator/buffer.ts deleted file mode 100644 index d4614b3006..0000000000 --- a/compat/operator/buffer.ts +++ /dev/null @@ -1,39 +0,0 @@ - -import { Observable } from 'rxjs'; -import { buffer as higherOrder } from 'rxjs/operators'; - -/** - * Buffers the source Observable values until `closingNotifier` emits. - * - * Collects values from the past as an array, and emits - * that array only when another Observable emits. - * - * - * - * Buffers the incoming Observable values until the given `closingNotifier` - * Observable emits a value, at which point it emits the buffer on the output - * Observable and starts a new buffer internally, awaiting the next time - * `closingNotifier` emits. - * - * @example On every click, emit array of most recent interval events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var interval = Rx.Observable.interval(1000); - * var buffered = interval.buffer(clicks); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link window} - * - * @param {Observable} closingNotifier An Observable that signals the - * buffer to be emitted on the output Observable. - * @return {Observable} An Observable of buffers, which are arrays of - * values. - * @method buffer - * @owner Observable - */ -export function buffer(this: Observable, closingNotifier: Observable): Observable { - return higherOrder(closingNotifier)(this) as Observable; -} diff --git a/compat/operator/bufferCount.ts b/compat/operator/bufferCount.ts deleted file mode 100644 index 3de3eb2d79..0000000000 --- a/compat/operator/bufferCount.ts +++ /dev/null @@ -1,48 +0,0 @@ - -import { Observable } from 'rxjs'; -import { bufferCount as higherOrder } from 'rxjs/operators'; - -/** - * Buffers the source Observable values until the size hits the maximum - * `bufferSize` given. - * - * Collects values from the past as an array, and emits - * that array only when its size reaches `bufferSize`. - * - * - * - * Buffers a number of values from the source Observable by `bufferSize` then - * emits the buffer and clears it, and starts a new buffer each - * `startBufferEvery` values. If `startBufferEvery` is not provided or is - * `null`, then new buffers are started immediately at the start of the source - * and when each buffer closes and is emitted. - * - * @example Emit the last two click events as an array - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferCount(2); - * buffered.subscribe(x => console.log(x)); - * - * @example On every click, emit the last two click events as an array - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferCount(2, 1); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link pairwise} - * @see {@link windowCount} - * - * @param {number} bufferSize The maximum size of the buffer emitted. - * @param {number} [startBufferEvery] Interval at which to start a new buffer. - * For example if `startBufferEvery` is `2`, then a new buffer will be started - * on every other value from the source. A new buffer is started at the - * beginning of the source by default. - * @return {Observable} An Observable of arrays of buffered values. - * @method bufferCount - * @owner Observable - */ -export function bufferCount(this: Observable, bufferSize: number, startBufferEvery: number = null): Observable { - return higherOrder(bufferSize, startBufferEvery)(this) as Observable; -} diff --git a/compat/operator/bufferTime.ts b/compat/operator/bufferTime.ts deleted file mode 100644 index 44662e7c00..0000000000 --- a/compat/operator/bufferTime.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { isScheduler } from 'rxjs/internal-compatibility'; -import { bufferTime as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function bufferTime(this: Observable, bufferTimeSpan: number, scheduler?: SchedulerLike): Observable; -export function bufferTime(this: Observable, bufferTimeSpan: number, bufferCreationInterval: number | null | undefined, scheduler?: SchedulerLike): Observable; -export function bufferTime(this: Observable, bufferTimeSpan: number, bufferCreationInterval: number | null | undefined, maxBufferSize: number, scheduler?: SchedulerLike): Observable; -/* tslint:enable:max-line-length */ - -/** - * Buffers the source Observable values for a specific time period. - * - * Collects values from the past as an array, and emits - * those arrays periodically in time. - * - * - * - * Buffers values from the source for a specific time duration `bufferTimeSpan`. - * Unless the optional argument `bufferCreationInterval` is given, it emits and - * resets the buffer every `bufferTimeSpan` milliseconds. If - * `bufferCreationInterval` is given, this operator opens the buffer every - * `bufferCreationInterval` milliseconds and closes (emits and resets) the - * buffer every `bufferTimeSpan` milliseconds. When the optional argument - * `maxBufferSize` is specified, the buffer will be closed either after - * `bufferTimeSpan` milliseconds or when it contains `maxBufferSize` elements. - * - * @example Every second, emit an array of the recent click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferTime(1000); - * buffered.subscribe(x => console.log(x)); - * - * @example Every 5 seconds, emit the click events from the next 2 seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferTime(2000, 5000); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link windowTime} - * - * @param {number} bufferTimeSpan The amount of time to fill each buffer array. - * @param {number} [bufferCreationInterval] The interval at which to start new - * buffers. - * @param {number} [maxBufferSize] The maximum buffer size. - * @param {Scheduler} [scheduler=asyncScheduler] The scheduler on which to schedule the - * intervals that determine buffer boundaries. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferTime - * @owner Observable - */ -export function bufferTime(this: Observable, bufferTimeSpan: number): Observable { - let length: number = arguments.length; - - let scheduler: SchedulerLike = asyncScheduler; - if (isScheduler(arguments[arguments.length - 1])) { - scheduler = arguments[arguments.length - 1]; - length--; - } - - let bufferCreationInterval: number = null; - if (length >= 2) { - bufferCreationInterval = arguments[1]; - } - - let maxBufferSize: number = Number.POSITIVE_INFINITY; - if (length >= 3) { - maxBufferSize = arguments[2]; - } - - return higherOrder(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler)(this) as Observable; -} diff --git a/compat/operator/bufferToggle.ts b/compat/operator/bufferToggle.ts deleted file mode 100644 index f63b338844..0000000000 --- a/compat/operator/bufferToggle.ts +++ /dev/null @@ -1,46 +0,0 @@ - -import { Observable, SubscribableOrPromise} from 'rxjs'; -import { bufferToggle as higherOrder } from 'rxjs/operators'; - -/** - * Buffers the source Observable values starting from an emission from - * `openings` and ending when the output of `closingSelector` emits. - * - * Collects values from the past as an array. Starts - * collecting only when `opening` emits, and calls the `closingSelector` - * function to get an Observable that tells when to close the buffer. - * - * - * - * Buffers values from the source by opening the buffer via signals from an - * Observable provided to `openings`, and closing and sending the buffers when - * a Subscribable or Promise returned by the `closingSelector` function emits. - * - * @example Every other second, emit the click events from the next 500ms - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var openings = Rx.Observable.interval(1000); - * var buffered = clicks.bufferToggle(openings, i => - * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() - * ); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferWhen} - * @see {@link windowToggle} - * - * @param {SubscribableOrPromise} openings A Subscribable or Promise of notifications to start new - * buffers. - * @param {function(value: O): SubscribableOrPromise} closingSelector A function that takes - * the value emitted by the `openings` observable and returns a Subscribable or Promise, - * which, when it emits, signals that the associated buffer should be emitted - * and cleared. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferToggle - * @owner Observable - */ -export function bufferToggle(this: Observable, openings: SubscribableOrPromise, - closingSelector: (value: O) => SubscribableOrPromise): Observable { - return higherOrder(openings, closingSelector)(this) as Observable; -} diff --git a/compat/operator/bufferWhen.ts b/compat/operator/bufferWhen.ts deleted file mode 100644 index 31843f6350..0000000000 --- a/compat/operator/bufferWhen.ts +++ /dev/null @@ -1,40 +0,0 @@ - -import { Observable } from 'rxjs'; -import { bufferWhen as higherOrder } from 'rxjs/operators'; - -/** - * Buffers the source Observable values, using a factory function of closing - * Observables to determine when to close, emit, and reset the buffer. - * - * Collects values from the past as an array. When it - * starts collecting values, it calls a function that returns an Observable that - * tells when to close the buffer and restart collecting. - * - * - * - * Opens a buffer immediately, then closes the buffer when the observable - * returned by calling `closingSelector` function emits a value. When it closes - * the buffer, it immediately opens a new buffer and repeats the process. - * - * @example Emit an array of the last clicks every [1-5] random seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferWhen(() => - * Rx.Observable.interval(1000 + Math.random() * 4000) - * ); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link windowWhen} - * - * @param {function(): Observable} closingSelector A function that takes no - * arguments and returns an Observable that signals buffer closure. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferWhen - * @owner Observable - */ -export function bufferWhen(this: Observable, closingSelector: () => Observable): Observable { - return higherOrder(closingSelector)(this) as Observable; -} diff --git a/compat/operator/catch.ts b/compat/operator/catch.ts deleted file mode 100644 index 8455d69308..0000000000 --- a/compat/operator/catch.ts +++ /dev/null @@ -1,66 +0,0 @@ - -import { Observable, ObservableInput } from 'rxjs'; -import { catchError as higherOrder } from 'rxjs/operators'; - -/** - * Catches errors on the observable to be handled by returning a new observable or throwing an error. - * - * - * - * @example Continues with a different Observable when there's an error - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n == 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) - * .subscribe(x => console.log(x)); - * // 1, 2, 3, I, II, III, IV, V - * - * @example Retries the caught source Observable again in case of error, similar to retry() operator - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n === 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch((err, caught) => caught) - * .take(30) - * .subscribe(x => console.log(x)); - * // 1, 2, 3, 1, 2, 3, ... - * - * @example Throws a new error when the source Observable throws an error - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n == 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch(err => { - * throw 'error in source. Details: ' + err; - * }) - * .subscribe( - * x => console.log(x), - * err => console.log(err) - * ); - * // 1, 2, 3, error in source. Details: four! - * - * @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which - * is the source observable, in case you'd like to "retry" that observable by returning it again. Whatever observable - * is returned by the `selector` will be used to continue the observable chain. - * @return {Observable} An observable that originates from either the source or the observable returned by the - * catch `selector` function. - * @method catch - * @name catch - * @owner Observable - */ -export function _catch(this: Observable, selector: (err: any, caught: Observable) => ObservableInput): Observable { - return higherOrder(selector)(this); -} diff --git a/compat/operator/combineAll.ts b/compat/operator/combineAll.ts deleted file mode 100644 index 10893f62fa..0000000000 --- a/compat/operator/combineAll.ts +++ /dev/null @@ -1,53 +0,0 @@ - -import { Observable, ObservableInput } from 'rxjs'; -import { combineAll as higherOrder } from 'rxjs/operators'; - -export function combineAll(this: Observable>): Observable; -export function combineAll(this: Observable): Observable; -export function combineAll(this: Observable>, project: (...values: T[]) => R): Observable; -export function combineAll(this: Observable, project: (...values: T[]) => R): Observable; -export function combineAll(this: Observable, project: (...values: any[]) => R): Observable; - -/** - * Converts a higher-order Observable into a first-order Observable by waiting - * for the outer Observable to complete, then applying {@link combineLatest}. - * - * Flattens an Observable-of-Observables by applying - * {@link combineLatest} when the Observable-of-Observables completes. - * - * - * - * Takes an Observable of Observables, and collects all Observables from it. - * Once the outer Observable completes, it subscribes to all collected - * Observables and combines their values using the {@link combineLatest} - * strategy, such that: - * - Every time an inner Observable emits, the output Observable emits. - * - When the returned observable emits, it emits all of the latest values by: - * - If a `project` function is provided, it is called with each recent value - * from each inner Observable in whatever order they arrived, and the result - * of the `project` function is what is emitted by the output Observable. - * - If there is no `project` function, an array of all of the most recent - * values is emitted by the output Observable. - * - * @example Map two click events to a finite interval Observable, then apply combineAll - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map(ev => - * Rx.Observable.interval(Math.random()*2000).take(3) - * ).take(2); - * var result = higherOrder.combineAll(); - * result.subscribe(x => console.log(x)); - * - * @see {@link combineLatest} - * @see {@link mergeAll} - * - * @param {function} [project] An optional function to map the most recent - * values from each inner Observable into a new result. Takes each of the most - * recent values from each collected inner Observable as arguments, in order. - * @return {Observable} An Observable of projected results or arrays of recent - * values. - * @method combineAll - * @owner Observable - */ -export function combineAll(this: Observable>, project?: (...values: Array) => R): Observable { - return higherOrder(project)(this); -} diff --git a/compat/operator/combineLatest.ts b/compat/operator/combineLatest.ts deleted file mode 100644 index 87adb1aeaf..0000000000 --- a/compat/operator/combineLatest.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { of, Observable, ObservableInput } from 'rxjs'; -import { isArray, CombineLatestOperator } from 'rxjs/internal-compatibility'; - -/* tslint:disable:max-line-length */ -export function combineLatest(this: Observable, project: (v1: T) => R): Observable; -export function combineLatest(this: Observable, v2: ObservableInput, project: (v1: T, v2: T2) => R): Observable; -export function combineLatest(this: Observable, v2: ObservableInput, v3: ObservableInput, project: (v1: T, v2: T2, v3: T3) => R): Observable; -export function combineLatest(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4) => R): Observable; -export function combineLatest(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R): Observable; -export function combineLatest(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R): Observable ; -export function combineLatest(this: Observable, v2: ObservableInput): Observable<[T, T2]>; -export function combineLatest(this: Observable, v2: ObservableInput, v3: ObservableInput): Observable<[T, T2, T3]>; -export function combineLatest(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput): Observable<[T, T2, T3, T4]>; -export function combineLatest(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput): Observable<[T, T2, T3, T4, T5]>; -export function combineLatest(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput): Observable<[T, T2, T3, T4, T5, T6]> ; -export function combineLatest(this: Observable, ...observables: Array | ((...values: Array) => R)>): Observable; -export function combineLatest(this: Observable, array: ObservableInput[]): Observable>; -export function combineLatest(this: Observable, array: ObservableInput[], project: (v1: T, ...values: Array) => R): Observable; -/* tslint:enable:max-line-length */ - -/** - * Combines multiple Observables to create an Observable whose values are - * calculated from the latest values of each of its input Observables. - * - * Whenever any input Observable emits a value, it - * computes a formula using the latest values from all the inputs, then emits - * the output of that formula. - * - * - * - * `combineLatest` combines the values from this Observable with values from - * Observables passed as arguments. This is done by subscribing to each - * Observable, in order, and collecting an array of each of the most recent - * values any time any of the input Observables emits, then either taking that - * array and passing it as arguments to an optional `project` function and - * emitting the return value of that, or just emitting the array of recent - * values directly if there is no `project` function. - * - * @example Dynamically calculate the Body-Mass Index from an Observable of weight and one for height - * var weight = Rx.Observable.of(70, 72, 76, 79, 75); - * var height = Rx.Observable.of(1.76, 1.77, 1.78); - * var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); - * bmi.subscribe(x => console.log('BMI is ' + x)); - * - * // With output to console: - * // BMI is 24.212293388429753 - * // BMI is 23.93948099205209 - * // BMI is 23.671253629592222 - * - * @see {@link combineAll} - * @see {@link merge} - * @see {@link withLatestFrom} - * - * @param {ObservableInput} other An input Observable to combine with the source - * Observable. More than one input Observables may be given as argument. - * @param {function} [project] An optional function to project the values from - * the combined latest values into a new value on the output Observable. - * @return {Observable} An Observable of projected values from the most recent - * values from each input Observable, or an array of the most recent values from - * each input Observable. - * @method combineLatest - * @owner Observable - */ -export function combineLatest(this: Observable, ...observables: Array | - Array> | - ((...values: Array) => R)>): Observable { - let project: (...values: Array) => R = null; - if (typeof observables[observables.length - 1] === 'function') { - project = <(...values: Array) => R>observables.pop(); - } - - // if the first and only other argument besides the resultSelector is an array - // assume it's been called with `combineLatest([obs1, obs2, obs3], project)` - if (observables.length === 1 && isArray(observables[0])) { - observables = (observables[0]).slice(); - } - - return this.lift.call(of(this, ...observables as Array>), new CombineLatestOperator(project)); -} diff --git a/compat/operator/concat.ts b/compat/operator/concat.ts deleted file mode 100644 index 9a89fa1e16..0000000000 --- a/compat/operator/concat.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { concat as concatStatic, Observable, ObservableInput, SchedulerLike } from 'rxjs'; - -/* tslint:disable:max-line-length */ -export function concat(this: Observable, scheduler?: SchedulerLike): Observable; -export function concat(this: Observable, v2: ObservableInput, scheduler?: SchedulerLike): Observable; -export function concat(this: Observable, v2: ObservableInput, v3: ObservableInput, scheduler?: SchedulerLike): Observable; -export function concat(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, scheduler?: SchedulerLike): Observable; -export function concat(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, scheduler?: SchedulerLike): Observable; -export function concat(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, scheduler?: SchedulerLike): Observable; -export function concat(this: Observable, ...observables: Array | SchedulerLike>): Observable; -export function concat(this: Observable, ...observables: Array | SchedulerLike>): Observable; -/* tslint:enable:max-line-length */ - -/** - * Creates an output Observable which sequentially emits all values from every - * given input Observable after the current Observable. - * - * Concatenates multiple Observables together by - * sequentially emitting their values, one Observable after the other. - * - * - * - * Joins this Observable with multiple other Observables by subscribing to them - * one at a time, starting with the source, and merging their results into the - * output Observable. Will wait for each Observable to complete before moving - * on to the next. - * - * @example Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 - * var timer = Rx.Observable.interval(1000).take(4); - * var sequence = Rx.Observable.range(1, 10); - * var result = timer.concat(sequence); - * result.subscribe(x => console.log(x)); - * - * // results in: - * // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 - * - * @example Concatenate 3 Observables - * var timer1 = Rx.Observable.interval(1000).take(10); - * var timer2 = Rx.Observable.interval(2000).take(6); - * var timer3 = Rx.Observable.interval(500).take(10); - * var result = timer1.concat(timer2, timer3); - * result.subscribe(x => console.log(x)); - * - * // results in the following: - * // (Prints to console sequentially) - * // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 - * // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 - * // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 - * - * @see {@link concatAll} - * @see {@link concatMap} - * @see {@link concatMapTo} - * - * @param {ObservableInput} other An input Observable to concatenate after the source - * Observable. More than one input Observables may be given as argument. - * @param {Scheduler} [scheduler=null] An optional IScheduler to schedule each - * Observable subscription on. - * @return {Observable} All values of each passed Observable merged into a - * single Observable, in order, in serial fashion. - * @method concat - * @owner Observable - */ -export function concat(this: Observable, ...observables: Array | SchedulerLike>): Observable { - return this.lift.call(concatStatic(this, ...observables)); -} diff --git a/compat/operator/concatAll.ts b/compat/operator/concatAll.ts deleted file mode 100644 index 9b25a75f75..0000000000 --- a/compat/operator/concatAll.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { concatAll as higherOrder } from 'rxjs/operators'; - -export function concatAll(this: Observable>): Observable; -export function concatAll(this: Observable): Observable; - -/** - * Converts a higher-order Observable into a first-order Observable by - * concatenating the inner Observables in order. - * - * Flattens an Observable-of-Observables by putting one - * inner Observable after the other. - * - * - * - * Joins every Observable emitted by the source (a higher-order Observable), in - * a serial fashion. It subscribes to each inner Observable only after the - * previous inner Observable has completed, and merges all of their values into - * the returned observable. - * - * __Warning:__ If the source Observable emits Observables quickly and - * endlessly, and the inner Observables it emits generally complete slower than - * the source emits, you can run into memory issues as the incoming Observables - * collect in an unbounded buffer. - * - * Note: `concatAll` is equivalent to `mergeAll` with concurrency parameter set - * to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); - * var firstOrder = higherOrder.concatAll(); - * firstOrder.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link combineAll} - * @see {@link concat} - * @see {@link concatMap} - * @see {@link concatMapTo} - * @see {@link exhaust} - * @see {@link mergeAll} - * @see {@link switch} - * @see {@link zipAll} - * - * @return {Observable} An Observable emitting values from all the inner - * Observables concatenated. - * @method concatAll - * @owner Observable - */ -export function concatAll(this: Observable>): Observable { - return higherOrder()(this); -} diff --git a/compat/operator/concatMap.ts b/compat/operator/concatMap.ts deleted file mode 100644 index 9c4c125dfe..0000000000 --- a/compat/operator/concatMap.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { concatMap as higherOrderConcatMap } from 'rxjs/operators'; -import { Observable, ObservableInput } from 'rxjs'; - -/** - * Projects each source value to an Observable which is merged in the output - * Observable, in a serialized fashion waiting for each one to complete before - * merging the next. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link concatAll}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. Each new inner Observable is - * concatenated with the previous inner Observable. - * - * __Warning:__ if source values arrive endlessly and faster than their - * corresponding inner Observables can complete, it will result in memory issues - * as inner Observables amass in an unbounded buffer waiting for their turn to - * be subscribed to. - * - * Note: `concatMap` is equivalent to `mergeMap` with concurrency parameter set - * to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link concat} - * @see {@link concatAll} - * @see {@link concatMapTo} - * @see {@link exhaustMap} - * @see {@link mergeMap} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and taking values from each projected inner - * Observable sequentially. - * @method concatMap - * @owner Observable - */ -export function concatMap(this: Observable, project: (value: T, index: number) => ObservableInput) { - return higherOrderConcatMap(project)(this); -} diff --git a/compat/operator/concatMapTo.ts b/compat/operator/concatMapTo.ts deleted file mode 100644 index 058e2a4866..0000000000 --- a/compat/operator/concatMapTo.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { concatMapTo as higherOrder } from 'rxjs/operators'; - -/** - * Projects each source value to the same Observable which is merged multiple - * times in a serialized fashion on the output Observable. - * - * It's like {@link concatMap}, but maps each value - * always to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then flattens those resulting Observables into one - * single Observable, which is the output Observable. Each new `innerObservable` - * instance emitted on the output Observable is concatenated with the previous - * `innerObservable` instance. - * - * __Warning:__ if source values arrive endlessly and faster than their - * corresponding inner Observables can complete, it will result in memory issues - * as inner Observables amass in an unbounded buffer waiting for their turn to - * be subscribed to. - * - * Note: `concatMapTo` is equivalent to `mergeMapTo` with concurrency parameter - * set to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link concat} - * @see {@link concatAll} - * @see {@link concatMap} - * @see {@link mergeMapTo} - * @see {@link switchMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @return {Observable} An observable of values merged together by joining the - * passed observable with itself, one after the other, for each value emitted - * from the source. - * @method concatMapTo - * @owner Observable - */ -export function concatMapTo(this: Observable, innerObservable: Observable): Observable { - return higherOrder(innerObservable)(this); -} diff --git a/compat/operator/count.ts b/compat/operator/count.ts deleted file mode 100644 index 3a92a44791..0000000000 --- a/compat/operator/count.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Observable } from 'rxjs'; -import { count as higherOrder } from 'rxjs/operators'; - -/** - * Counts the number of emissions on the source and emits that number when the - * source completes. - * - * Tells how many values were emitted, when the source - * completes. - * - * - * - * `count` transforms an Observable that emits values into an Observable that - * emits a single value that represents the number of values emitted by the - * source Observable. If the source Observable terminates with an error, `count` - * will pass this error notification along without emitting a value first. If - * the source Observable does not terminate at all, `count` will neither emit - * a value nor terminate. This operator takes an optional `predicate` function - * as argument, in which case the output emission will represent the number of - * source values that matched `true` with the `predicate`. - * - * @example Counts how many seconds have passed before the first click happened - * var seconds = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var secondsBeforeClick = seconds.takeUntil(clicks); - * var result = secondsBeforeClick.count(); - * result.subscribe(x => console.log(x)); - * - * @example Counts how many odd numbers are there between 1 and 7 - * var numbers = Rx.Observable.range(1, 7); - * var result = numbers.count(i => i % 2 === 1); - * result.subscribe(x => console.log(x)); - * - * // Results in: - * // 4 - * - * @see {@link max} - * @see {@link min} - * @see {@link reduce} - * - * @param {function(value: T, i: number, source: Observable): boolean} [predicate] A - * boolean function to select what values are to be counted. It is provided with - * arguments of: - * - `value`: the value from the source Observable. - * - `index`: the (zero-based) "index" of the value from the source Observable. - * - `source`: the source Observable instance itself. - * @return {Observable} An Observable of one number that represents the count as - * described above. - * @method count - * @owner Observable - */ -export function count(this: Observable, predicate?: (value: T, index: number, source: Observable) => boolean): Observable { - return higherOrder(predicate)(this); -} diff --git a/compat/operator/debounce.ts b/compat/operator/debounce.ts deleted file mode 100644 index 310abf6e9f..0000000000 --- a/compat/operator/debounce.ts +++ /dev/null @@ -1,49 +0,0 @@ - -import { Observable, SubscribableOrPromise } from 'rxjs'; -import { debounce as higherOrder } from 'rxjs/operators'; - -/** - * Emits a value from the source Observable only after a particular time span - * determined by another Observable has passed without another source emission. - * - * It's like {@link debounceTime}, but the time span of - * emission silence is determined by a second Observable. - * - * - * - * `debounce` delays values emitted by the source Observable, but drops previous - * pending delayed emissions if a new value arrives on the source Observable. - * This operator keeps track of the most recent value from the source - * Observable, and spawns a duration Observable by calling the - * `durationSelector` function. The value is emitted only when the duration - * Observable emits a value or completes, and if no other value was emitted on - * the source Observable since the duration Observable was spawned. If a new - * value appears before the duration Observable emits, the previous value will - * be dropped and will not be emitted on the output Observable. - * - * Like {@link debounceTime}, this is a rate-limiting operator, and also a - * delay-like operator since output emissions do not necessarily occur at the - * same time as they did on the source Observable. - * - * @example Emit the most recent click after a burst of clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.debounce(() => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounceTime} - * @see {@link delayWhen} - * @see {@link throttle} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the timeout - * duration for each source value, returned as an Observable or a Promise. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified duration Observable returned by - * `durationSelector`, and may drop some values if they occur too frequently. - * @method debounce - * @owner Observable - */ -export function debounce(this: Observable, durationSelector: (value: T) => SubscribableOrPromise): Observable { - return higherOrder(durationSelector)(this); -} diff --git a/compat/operator/debounceTime.ts b/compat/operator/debounceTime.ts deleted file mode 100644 index fb545d80d2..0000000000 --- a/compat/operator/debounceTime.ts +++ /dev/null @@ -1,53 +0,0 @@ - -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { debounceTime as higherOrder } from 'rxjs/operators'; - -/** - * Emits a value from the source Observable only after a particular time span - * has passed without another source emission. - * - * It's like {@link delay}, but passes only the most - * recent value from each burst of emissions. - * - * - * - * `debounceTime` delays values emitted by the source Observable, but drops - * previous pending delayed emissions if a new value arrives on the source - * Observable. This operator keeps track of the most recent value from the - * source Observable, and emits that only when `dueTime` enough time has passed - * without any other value appearing on the source Observable. If a new value - * appears before `dueTime` silence occurs, the previous value will be dropped - * and will not be emitted on the output Observable. - * - * This is a rate-limiting operator, because it is impossible for more than one - * value to be emitted in any time window of duration `dueTime`, but it is also - * a delay-like operator since output emissions do not occur at the same time as - * they did on the source Observable. Optionally takes a {@link IScheduler} for - * managing timers. - * - * @example Emit the most recent click after a burst of clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.debounceTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounce} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttleTime} - * - * @param {number} dueTime The timeout duration in milliseconds (or the time - * unit determined internally by the optional `scheduler`) for the window of - * time required to wait for emission silence before emitting the most recent - * source value. - * @param {Scheduler} [scheduler=asyncScheduler] The {@link SchedulerLike} to use for - * managing the timers that handle the timeout for each value. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified `dueTime`, and may drop some values if they occur - * too frequently. - * @method debounceTime - * @owner Observable - */ -export function debounceTime(this: Observable, dueTime: number, scheduler: SchedulerLike = asyncScheduler): Observable { - return higherOrder(dueTime, scheduler)(this) as Observable; -} diff --git a/compat/operator/defaultIfEmpty.ts b/compat/operator/defaultIfEmpty.ts deleted file mode 100644 index 96abbb6577..0000000000 --- a/compat/operator/defaultIfEmpty.ts +++ /dev/null @@ -1,42 +0,0 @@ - -import { Observable } from 'rxjs'; -import { defaultIfEmpty as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function defaultIfEmpty(this: Observable, defaultValue?: T): Observable; -export function defaultIfEmpty(this: Observable, defaultValue?: R): Observable; -/* tslint:enable:max-line-length */ - -/** - * Emits a given value if the source Observable completes without emitting any - * `next` value, otherwise mirrors the source Observable. - * - * If the source Observable turns out to be empty, then - * this operator will emit a default value. - * - * - * - * `defaultIfEmpty` emits the values emitted by the source Observable or a - * specified default value if the source Observable is empty (completes without - * having emitted any `next` value). - * - * @example If no clicks happen in 5 seconds, then emit "no clicks" - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); - * var result = clicksBeforeFive.defaultIfEmpty('no clicks'); - * result.subscribe(x => console.log(x)); - * - * @see {@link empty} - * @see {@link last} - * - * @param {any} [defaultValue=null] The default value used if the source - * Observable is empty. - * @return {Observable} An Observable that emits either the specified - * `defaultValue` if the source Observable emits no items, or the values emitted - * by the source Observable. - * @method defaultIfEmpty - * @owner Observable - */ -export function defaultIfEmpty(this: Observable, defaultValue: R = null): Observable { - return higherOrder(defaultValue)(this); -} diff --git a/compat/operator/delay.ts b/compat/operator/delay.ts deleted file mode 100644 index 7500f9b4de..0000000000 --- a/compat/operator/delay.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { delay as higherOrder } from 'rxjs/operators'; - -/** - * Delays the emission of items from the source Observable by a given timeout or - * until a given Date. - * - * Time shifts each item by some specified amount of - * milliseconds. - * - * - * - * If the delay argument is a Number, this operator time shifts the source - * Observable by that amount of time expressed in milliseconds. The relative - * time intervals between the values are preserved. - * - * If the delay argument is a Date, this operator time shifts the start of the - * Observable execution until the given date occurs. - * - * @example Delay each click by one second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var delayedClicks = clicks.delay(1000); // each click emitted after 1 second - * delayedClicks.subscribe(x => console.log(x)); - * - * @example Delay all clicks until a future date happens - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var date = new Date('March 15, 2050 12:00:00'); // in the future - * var delayedClicks = clicks.delay(date); // click emitted only after that date - * delayedClicks.subscribe(x => console.log(x)); - * - * @see {@link debounceTime} - * @see {@link delayWhen} - * - * @param {number|Date} delay The delay duration in milliseconds (a `number`) or - * a `Date` until which the emission of the source items is delayed. - * @param {Scheduler} [scheduler=asyncScheduler] The SchedulerLike to use for - * managing the timers that handle the time-shift for each item. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified timeout or Date. - * @method delay - * @owner Observable - */ -export function delay(this: Observable, delay: number|Date, - scheduler: SchedulerLike = asyncScheduler): Observable { - return higherOrder(delay, scheduler)(this); -} diff --git a/compat/operator/delayWhen.ts b/compat/operator/delayWhen.ts deleted file mode 100644 index e787999543..0000000000 --- a/compat/operator/delayWhen.ts +++ /dev/null @@ -1,53 +0,0 @@ - -import { Observable } from 'rxjs'; -import { delayWhen as higherOrder } from 'rxjs/operators'; - -/** - * Delays the emission of items from the source Observable by a given time span - * determined by the emissions of another Observable. - * - * It's like {@link delay}, but the time span of the - * delay duration is determined by a second Observable. - * - * - * - * `delayWhen` time shifts each emitted value from the source Observable by a - * time span determined by another Observable. When the source emits a value, - * the `delayDurationSelector` function is called with the source value as - * argument, and should return an Observable, called the "duration" Observable. - * The source value is emitted on the output Observable only when the duration - * Observable emits a value or completes. - * - * Optionally, `delayWhen` takes a second argument, `subscriptionDelay`, which - * is an Observable. When `subscriptionDelay` emits its first value or - * completes, the source Observable is subscribed to and starts behaving like - * described in the previous paragraph. If `subscriptionDelay` is not provided, - * `delayWhen` will subscribe to the source Observable as soon as the output - * Observable is subscribed. - * - * @example Delay each click by a random amount of time, between 0 and 5 seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var delayedClicks = clicks.delayWhen(event => - * Rx.Observable.interval(Math.random() * 5000) - * ); - * delayedClicks.subscribe(x => console.log(x)); - * - * @see {@link debounce} - * @see {@link delay} - * - * @param {function(value: T): Observable} delayDurationSelector A function that - * returns an Observable for each value emitted by the source Observable, which - * is then used to delay the emission of that item on the output Observable - * until the Observable returned from this function emits a value. - * @param {Observable} subscriptionDelay An Observable that triggers the - * subscription to the source Observable once it emits any value. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by an amount of time specified by the Observable returned by - * `delayDurationSelector`. - * @method delayWhen - * @owner Observable - */ -export function delayWhen(this: Observable, delayDurationSelector: (value: T) => Observable, - subscriptionDelay?: Observable): Observable { - return higherOrder(delayDurationSelector, subscriptionDelay)(this); -} diff --git a/compat/operator/dematerialize.ts b/compat/operator/dematerialize.ts deleted file mode 100644 index 811c1e1e2a..0000000000 --- a/compat/operator/dematerialize.ts +++ /dev/null @@ -1,47 +0,0 @@ - -import { Observable, Notification} from 'rxjs'; -import { dematerialize as higherOrder } from 'rxjs/operators'; - -/** - * Converts an Observable of {@link Notification} objects into the emissions - * that they represent. - * - * Unwraps {@link Notification} objects as actual `next`, - * `error` and `complete` emissions. The opposite of {@link materialize}. - * - * - * - * `dematerialize` is assumed to operate an Observable that only emits - * {@link Notification} objects as `next` emissions, and does not emit any - * `error`. Such Observable is the output of a `materialize` operation. Those - * notifications are then unwrapped using the metadata they contain, and emitted - * as `next`, `error`, and `complete` on the output Observable. - * - * Use this operator in conjunction with {@link materialize}. - * - * @example Convert an Observable of Notifications to an actual Observable - * var notifA = new Rx.Notification('N', 'A'); - * var notifB = new Rx.Notification('N', 'B'); - * var notifE = new Rx.Notification('E', void 0, - * new TypeError('x.toUpperCase is not a function') - * ); - * var materialized = Rx.Observable.of(notifA, notifB, notifE); - * var upperCase = materialized.dematerialize(); - * upperCase.subscribe(x => console.log(x), e => console.error(e)); - * - * // Results in: - * // A - * // B - * // TypeError: x.toUpperCase is not a function - * - * @see {@link Notification} - * @see {@link materialize} - * - * @return {Observable} An Observable that emits items and notifications - * embedded in Notification objects emitted by the source Observable. - * @method dematerialize - * @owner Observable - */ -export function dematerialize(this: Observable>): Observable { - return higherOrder()(this) as Observable; -} diff --git a/compat/operator/distinct.ts b/compat/operator/distinct.ts deleted file mode 100644 index 2fd734cfd0..0000000000 --- a/compat/operator/distinct.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Observable } from 'rxjs'; -import { distinct as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. - * - * If a keySelector function is provided, then it will project each value from the source observable into a new value that it will - * check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the - * source observable directly with an equality check against previous values. - * - * In JavaScript runtimes that support `Set`, this operator will use a `Set` to improve performance of the distinct value checking. - * - * In other runtimes, this operator will use a minimal implementation of `Set` that relies on an `Array` and `indexOf` under the - * hood, so performance will degrade as more values are checked for distinction. Even in newer browsers, a long-running `distinct` - * use might result in memory leaks. To help alleviate this in some scenarios, an optional `flushes` parameter is also provided so - * that the internal `Set` can be "flushed", basically clearing it of values. - * - * @example A simple example with numbers - * Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) - * .distinct() - * .subscribe(x => console.log(x)); // 1, 2, 3, 4 - * - * @example An example using a keySelector function - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}) - * .distinct((p: Person) => p.name) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * - * @see {@link distinctUntilChanged} - * @see {@link distinctUntilKeyChanged} - * - * @param {function} [keySelector] Optional function to select which value you want to check as distinct. - * @param {Observable} [flushes] Optional Observable for flushing the internal HashSet of the operator. - * @return {Observable} An Observable that emits items from the source Observable with distinct values. - * @method distinct - * @owner Observable - */ -export function distinct(this: Observable, - keySelector?: (value: T) => K, - flushes?: Observable): Observable { - return higherOrder(keySelector, flushes)(this); -} diff --git a/compat/operator/distinctUntilChanged.ts b/compat/operator/distinctUntilChanged.ts deleted file mode 100644 index e4f8857657..0000000000 --- a/compat/operator/distinctUntilChanged.ts +++ /dev/null @@ -1,51 +0,0 @@ - -import { Observable } from 'rxjs'; -import { distinctUntilChanged as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function distinctUntilChanged(this: Observable, compare?: (x: T, y: T) => boolean): Observable; -export function distinctUntilChanged(this: Observable, compare: (x: K, y: K) => boolean, keySelector: (x: T) => K): Observable; -/* tslint:enable:max-line-length */ - -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. - * - * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. - * - * If a comparator function is not provided, an equality check is used by default. - * - * @example A simple example with numbers - * Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) - * .distinctUntilChanged() - * .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 - * - * @example An example using a compare function - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}, - * { age: 6, name: 'Foo'}) - * .distinctUntilChanged((p: Person, q: Person) => p.name === q.name) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo' } - * - * @see {@link distinct} - * @see {@link distinctUntilKeyChanged} - * - * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. - * @return {Observable} An Observable that emits items from the source Observable with distinct values. - * @method distinctUntilChanged - * @owner Observable - */ -export function distinctUntilChanged(this: Observable, compare?: (x: K, y: K) => boolean, keySelector?: (x: T) => K): Observable { - return higherOrder(compare, keySelector)(this); -} diff --git a/compat/operator/distinctUntilKeyChanged.ts b/compat/operator/distinctUntilKeyChanged.ts deleted file mode 100644 index 6e9da5554a..0000000000 --- a/compat/operator/distinctUntilKeyChanged.ts +++ /dev/null @@ -1,70 +0,0 @@ - -import { Observable } from 'rxjs'; -import { distinctUntilKeyChanged as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function distinctUntilKeyChanged(this: Observable, key: keyof T): Observable; -export function distinctUntilKeyChanged(this: Observable, key: K, compare: (x: T[K], y: T[K]) => boolean): Observable; -/* tslint:enable:max-line-length */ - -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, - * using a property accessed by using the key provided to check if the two items are distinct. - * - * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. - * - * If a comparator function is not provided, an equality check is used by default. - * - * @example An example comparing the name of persons - * - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}, - * { age: 6, name: 'Foo'}) - * .distinctUntilKeyChanged('name') - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo' } - * - * @example An example comparing the first letters of the name - * - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo1'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo2'}, - * { age: 6, name: 'Foo3'}) - * .distinctUntilKeyChanged('name', (x: string, y: string) => x.substring(0, 3) === y.substring(0, 3)) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo1' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo2' } - * - * @see {@link distinct} - * @see {@link distinctUntilChanged} - * - * @param {string} key String key for object property lookup on each item. - * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. - * @return {Observable} An Observable that emits items from the source Observable with distinct values based on the key specified. - * @method distinctUntilKeyChanged - * @owner Observable - */ -// tslint:disable-next-line:max-line-length -export function distinctUntilKeyChanged(this: Observable, key: K, compare?: (x: T[K], y: T[K]) => boolean): Observable { - return higherOrder(key, compare)(this); -} diff --git a/compat/operator/do.ts b/compat/operator/do.ts deleted file mode 100644 index f6f0d65195..0000000000 --- a/compat/operator/do.ts +++ /dev/null @@ -1,57 +0,0 @@ - -import { Observable, PartialObserver } from 'rxjs'; -import { tap as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function _do(this: Observable, next: (x: T) => void, error?: (e: any) => void, complete?: () => void): Observable; -export function _do(this: Observable, observer: PartialObserver): Observable; -/* tslint:enable:max-line-length */ - -/** - * Perform a side effect for every emission on the source Observable, but return - * an Observable that is identical to the source. - * - * Intercepts each emission on the source and runs a - * function, but returns an output which is identical to the source as long as errors don't occur. - * - * - * - * Returns a mirrored Observable of the source Observable, but modified so that - * the provided Observer is called to perform a side effect for every value, - * error, and completion emitted by the source. Any errors that are thrown in - * the aforementioned Observer or handlers are safely sent down the error path - * of the output Observable. - * - * This operator is useful for debugging your Observables for the correct values - * or performing other side effects. - * - * Note: this is different to a `subscribe` on the Observable. If the Observable - * returned by `do` is not subscribed, the side effects specified by the - * Observer will never happen. `do` therefore simply spies on existing - * execution, it does not trigger an execution to happen like `subscribe` does. - * - * @example Map every click to the clientX position of that click, while also logging the click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var positions = clicks - * .do(ev => console.log(ev)) - * .map(ev => ev.clientX); - * positions.subscribe(x => console.log(x)); - * - * @see {@link map} - * @see {@link subscribe} - * - * @param {Observer|function} [nextOrObserver] A normal Observer object or a - * callback for `next`. - * @param {function} [error] Callback for errors in the source. - * @param {function} [complete] Callback for the completion of the source. - * @return {Observable} An Observable identical to the source, but runs the - * specified Observer or callback(s) for each item. - * @method do - * @name do - * @owner Observable - */ -export function _do(this: Observable, nextOrObserver?: PartialObserver | ((x: T) => void), - error?: (e: any) => void, - complete?: () => void): Observable { - return higherOrder(nextOrObserver, error, complete)(this) as Observable; -} diff --git a/compat/operator/elementAt.ts b/compat/operator/elementAt.ts deleted file mode 100644 index 16f73e1eff..0000000000 --- a/compat/operator/elementAt.ts +++ /dev/null @@ -1,49 +0,0 @@ - -import { Observable } from 'rxjs'; -import { elementAt as higherOrder } from 'rxjs/operators'; - -/** - * Emits the single value at the specified `index` in a sequence of emissions - * from the source Observable. - * - * Emits only the i-th value, then completes. - * - * - * - * `elementAt` returns an Observable that emits the item at the specified - * `index` in the source Observable, or a default value if that `index` is out - * of range and the `default` argument is provided. If the `default` argument is - * not given and the `index` is out of range, the output Observable will emit an - * `ArgumentOutOfRangeError` error. - * - * @example Emit only the third click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.elementAt(2); - * result.subscribe(x => console.log(x)); - * - * // Results in: - * // click 1 = nothing - * // click 2 = nothing - * // click 3 = MouseEvent object logged to console - * - * @see {@link first} - * @see {@link last} - * @see {@link skip} - * @see {@link single} - * @see {@link take} - * - * @throws {ArgumentOutOfRangeError} When using `elementAt(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0` or the - * Observable has completed before emitting the i-th `next` notification. - * - * @param {number} index Is the number `i` for the i-th source emission that has - * happened since the subscription, starting from the number `0`. - * @param {T} [defaultValue] The default value returned for missing indices. - * @return {Observable} An Observable that emits a single item, if it is found. - * Otherwise, will emit the default value if given. If not, then emits an error. - * @method elementAt - * @owner Observable - */ -export function elementAt(this: Observable, index: number, defaultValue?: T): Observable { - return higherOrder.apply(undefined, arguments)(this); -} diff --git a/compat/operator/every.ts b/compat/operator/every.ts deleted file mode 100644 index 79493ec335..0000000000 --- a/compat/operator/every.ts +++ /dev/null @@ -1,22 +0,0 @@ - -import { Observable } from 'rxjs'; -import { every as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that emits whether or not every item of the source satisfies the condition specified. - * - * @example A simple example emitting true if all elements are less than 5, false otherwise - * Observable.of(1, 2, 3, 4, 5, 6) - * .every(x => x < 5) - * .subscribe(x => console.log(x)); // -> false - * - * @param {function} predicate A function for determining if an item meets a specified condition. - * @param {any} [thisArg] Optional object to use for `this` in the callback. - * @return {Observable} An Observable of booleans that determines if all items of the source Observable meet the condition specified. - * @method every - * @owner Observable - */ -export function every(this: Observable, predicate: (value: T, index: number, source: Observable) => boolean, - thisArg?: any): Observable { - return higherOrder(predicate, thisArg)(this); -} diff --git a/compat/operator/exhaust.ts b/compat/operator/exhaust.ts deleted file mode 100644 index 7f5ca4a3a6..0000000000 --- a/compat/operator/exhaust.ts +++ /dev/null @@ -1,43 +0,0 @@ - -import { Observable, ObservableInput } from 'rxjs'; -import { exhaust as higherOrder } from 'rxjs/operators'; - -export function exhaust(this: Observable>): Observable; -export function exhaust(this: Observable): Observable; - -/** - * Converts a higher-order Observable into a first-order Observable by dropping - * inner Observables while the previous inner Observable has not yet completed. - * - * Flattens an Observable-of-Observables by dropping the - * next inner Observables while the current inner is still executing. - * - * - * - * `exhaust` subscribes to an Observable that emits Observables, also known as a - * higher-order Observable. Each time it observes one of these emitted inner - * Observables, the output Observable begins emitting the items emitted by that - * inner Observable. So far, it behaves like {@link mergeAll}. However, - * `exhaust` ignores every new inner Observable if the previous Observable has - * not yet completed. Once that one completes, it will accept and flatten the - * next inner Observable and repeat this process. - * - * @example Run a finite timer for each click, only if there is no currently active timer - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); - * var result = higherOrder.exhaust(); - * result.subscribe(x => console.log(x)); - * - * @see {@link combineAll} - * @see {@link concatAll} - * @see {@link switch} - * @see {@link mergeAll} - * @see {@link exhaustMap} - * @see {@link zipAll} - * - * @return {Observable} An Observable that takes a source of Observables and propagates the first observable - * exclusively until it completes before subscribing to the next. - */ -export function exhaust(this: Observable>): Observable { - return higherOrder()(this); -} diff --git a/compat/operator/exhaustMap.ts b/compat/operator/exhaustMap.ts deleted file mode 100644 index 051c3a9404..0000000000 --- a/compat/operator/exhaustMap.ts +++ /dev/null @@ -1,44 +0,0 @@ - -import { Observable, ObservableInput } from 'rxjs'; -import { exhaustMap as higherOrder } from 'rxjs/operators'; -/** - * Projects each source value to an Observable which is merged in the output - * Observable only if the previous projected Observable has completed. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link exhaust}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. When it projects a source value to - * an Observable, the output Observable begins emitting the items emitted by - * that projected Observable. However, `exhaustMap` ignores every new projected - * Observable if the previous projected Observable has not yet completed. Once - * that one completes, it will accept and flatten the next projected Observable - * and repeat this process. - * - * @example Run a finite timer for each click, only if there is no currently active timer - * var clicks = fromEvent(document, 'click'); - * var result = clicks.pipe(exhaustMap((ev) => Rx.Observable.interval(1000).take(5))); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMap} - * @see {@link exhaust} - * @see {@link mergeMap} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @return {Observable} An Observable containing projected Observables - * of each item of the source, ignoring projected Observables that start before - * their preceding Observable has completed. - */ -export function exhaustMap( - this: Observable, - project: (value: T, index: number) => ObservableInput -): Observable { - return higherOrder(project)(this); -} diff --git a/compat/operator/expand.ts b/compat/operator/expand.ts deleted file mode 100644 index 7b01497df0..0000000000 --- a/compat/operator/expand.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Observable, ObservableInput, SchedulerLike } from 'rxjs'; -import { expand as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function expand(this: Observable, project: (value: T, index: number) => ObservableInput, concurrent?: number, scheduler?: SchedulerLike): Observable; -export function expand(this: Observable, project: (value: T, index: number) => ObservableInput, concurrent?: number, scheduler?: SchedulerLike): Observable; -/* tslint:enable:max-line-length */ - -/** - * Recursively projects each source value to an Observable which is merged in - * the output Observable. - * - * It's similar to {@link mergeMap}, but applies the - * projection function to every source value as well as every output value. - * It's recursive. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an Observable, and then merging those resulting Observables and - * emitting the results of this merger. *Expand* will re-emit on the output - * Observable every source value. Then, each output value is given to the - * `project` function which returns an inner Observable to be merged on the - * output Observable. Those output values resulting from the projection are also - * given to the `project` function to produce new output values. This is how - * *expand* behaves recursively. - * - * @example Start emitting the powers of two on every click, at most 10 of them - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var powersOfTwo = clicks - * .mapTo(1) - * .expand(x => Rx.Observable.of(2 * x).delay(1000)) - * .take(10); - * powersOfTwo.subscribe(x => console.log(x)); - * - * @see {@link mergeMap} - * @see {@link mergeScan} - * - * @param {function(value: T, index: number) => Observable} project A function - * that, when applied to an item emitted by the source or the output Observable, - * returns an Observable. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @param {Scheduler} [scheduler=null] The IScheduler to use for subscribing to - * each projected inner Observable. - * @return {Observable} An Observable that emits the source values and also - * result of applying the projection function to each value emitted on the - * output Observable and and merging the results of the Observables obtained - * from this transformation. - * @method expand - * @owner Observable - */ -export function expand(this: Observable, project: (value: T, index: number) => ObservableInput, - concurrent: number = Number.POSITIVE_INFINITY, - scheduler: SchedulerLike = undefined): Observable { - concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent; - - return higherOrder(project, concurrent, scheduler)(this); -} diff --git a/compat/operator/filter.ts b/compat/operator/filter.ts deleted file mode 100644 index 0dfac21024..0000000000 --- a/compat/operator/filter.ts +++ /dev/null @@ -1,56 +0,0 @@ - -import { Observable } from 'rxjs'; -import { filter as higherOrderFilter } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function filter(this: Observable, - predicate: (value: T, index: number) => value is S, - thisArg?: any): Observable; -export function filter(this: Observable, - predicate: (value: T, index: number) => boolean, - thisArg?: any): Observable; -/* tslint:enable:max-line-length */ - -/** - * Filter items emitted by the source Observable by only emitting those that - * satisfy a specified predicate. - * - * Like - * [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter), - * it only emits a value from the source if it passes a criterion function. - * - * - * - * Similar to the well-known `Array.prototype.filter` method, this operator - * takes values from the source Observable, passes them through a `predicate` - * function and only emits those values that yielded `true`. - * - * @example Emit only click events whose target was a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); - * clicksOnDivs.subscribe(x => console.log(x)); - * - * @see {@link distinct} - * @see {@link distinctUntilChanged} - * @see {@link distinctUntilKeyChanged} - * @see {@link ignoreElements} - * @see {@link partition} - * @see {@link skip} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates each value emitted by the source Observable. If it returns `true`, - * the value is emitted, if `false` the value is not passed to the output - * Observable. The `index` parameter is the number `i` for the i-th source - * emission that has happened since the subscription, starting from the number - * `0`. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of values from the source that were - * allowed by the `predicate` function. - * @method filter - * @owner Observable - */ -export function filter(this: Observable, predicate: (value: T, index: number) => boolean, - thisArg?: any): Observable { - return higherOrderFilter(predicate, thisArg)(this); -} diff --git a/compat/operator/finally.ts b/compat/operator/finally.ts deleted file mode 100644 index c80314c25a..0000000000 --- a/compat/operator/finally.ts +++ /dev/null @@ -1,77 +0,0 @@ - -import { Observable } from 'rxjs'; -import { finalize } from 'rxjs/operators'; - -/** - * Returns an Observable that mirrors the source Observable, but will call a specified function when - * the source terminates on complete, error or unsubscribe. - * - * Ensure a given function will be called when a stream ends, no matter why it ended. - * - * `finally` method accepts as a single parameter a function. This function does not accept any parameters and - * should not return anything. It will be called whenever source Observable completes, errors or is unsubscribed, - * which makes it good candidate to perform any necessary clean up or side effects when Observable terminates, - * no matter how or why it terminated. - * - * Observable returned by `finally` will simply mirror source Observable - each time it is subscribed, source - * Observable will be subscribed underneath. - * - * Note that behavior of `finally` will be repeated per every subscription, so if resulting Observable has - * many subscribers, function passed to `finally` might be potentially called multiple times. - * - * Remember also that `finally` differs quite a lot from passing complete or error handler to {@link subscribe}. It will - * return an Observable which can be further chained, while `subscribe` returns Subscription, basically ending Observable - * chain. Function passed to `finally` will be called also when consumer of resulting Observable unsubscribes from it, - * while handlers passed to `subscribe` will not (even complete handler). But most importantly, `finally` does not start - * an execution of source Observable, like `subscribe` does, allowing you to set up all necessary hooks before - * passing Observable further, even without specific knowledge how or when it will be used. - * - * - * @example Call finally after complete notification - * Rx.Observable.of(1, 2, 3) - * .finally(() => console.log('I was finalized!')) - * .map(x => x * 2) // `finally` returns an Observable, so we still can chain operators. - * .subscribe( - * val => console.log(val), - * err => {}, - * () => console.log('I completed!') - * ); - * - * // Logs: - * // 1 - * // 2 - * // 3 - * // "I completed!" - * // "I was finalized!" - * - * - * - * @example Call finally after consumer unsubscribes - * const o = Rx.Observable.interval(1000) - * .finally(() => console.log('Timer stopped')); - * - * const subscription = o.subscribe( - * val => console.log(val), - * err => {}, - * () => console.log('Complete!') // Will not be called, since complete handler - * ); // does not react to unsubscription, just to - * // complete notification sent by the Observable itself. - * - * setTimeout(() => subscription.unsubscribe(), 2500); - * - * // Logs: - * // 0 after 1s - * // 1 after 2s - * // "Timer stopped" after 2.5s - * - * @see {@link using} - * - * @param {function} callback Function to be called when source terminates (completes, errors or is unsubscribed). - * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination. - * @method finally - * @name finally - * @owner Observable - */ -export function _finally(this: Observable, callback: () => void): Observable { - return finalize(callback)(this) as Observable; -} diff --git a/compat/operator/find.ts b/compat/operator/find.ts deleted file mode 100644 index fdf4a40498..0000000000 --- a/compat/operator/find.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Observable } from 'rxjs'; -import { find as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function find(this: Observable, - predicate: (value: T, index: number) => value is S, - thisArg?: any): Observable; -export function find(this: Observable, - predicate: (value: T, index: number) => boolean, - thisArg?: any): Observable; -/* tslint:enable:max-line-length */ - -/** - * Emits only the first value emitted by the source Observable that meets some - * condition. - * - * Finds the first value that passes some test and emits - * that. - * - * - * - * `find` searches for the first item in the source Observable that matches the - * specified condition embodied by the `predicate`, and returns the first - * occurrence in the source. Unlike {@link first}, the `predicate` is required - * in `find`, and does not emit an error if a valid value is not found. - * - * @example Find and emit the first click that happens on a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.find(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link first} - * @see {@link findIndex} - * @see {@link take} - * - * @param {function(value: T, index: number, source: Observable): boolean} predicate - * A function called with each item to test for condition matching. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of the first item that matches the - * condition. - * @method find - * @owner Observable - */ -export function find(this: Observable, predicate: (value: T, index: number, source: Observable) => boolean, - thisArg?: any): Observable { - return higherOrder(predicate, thisArg)(this); -} diff --git a/compat/operator/findIndex.ts b/compat/operator/findIndex.ts deleted file mode 100644 index feebe51d9b..0000000000 --- a/compat/operator/findIndex.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Observable } from 'rxjs'; -import { findIndex as higherOrder } from 'rxjs/operators'; -/** - * Emits only the index of the first value emitted by the source Observable that - * meets some condition. - * - * It's like {@link find}, but emits the index of the - * found value, not the value itself. - * - * - * - * `findIndex` searches for the first item in the source Observable that matches - * the specified condition embodied by the `predicate`, and returns the - * (zero-based) index of the first occurrence in the source. Unlike - * {@link first}, the `predicate` is required in `findIndex`, and does not emit - * an error if a valid value is not found. - * - * @example Emit the index of first click that happens on a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link find} - * @see {@link first} - * @see {@link take} - * - * @param {function(value: T, index: number, source: Observable): boolean} predicate - * A function called with each item to test for condition matching. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of the index of the first item that - * matches the condition. - * @method find - * @owner Observable - */ -export function findIndex(this: Observable, predicate: (value: T, index: number, source: Observable) => boolean, - thisArg?: any): Observable { - return higherOrder(predicate, thisArg)(this); -} diff --git a/compat/operator/first.ts b/compat/operator/first.ts deleted file mode 100644 index 4ffa785ebe..0000000000 --- a/compat/operator/first.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Observable } from 'rxjs'; -import { first as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function first(this: Observable, predicate?: null, defaultValue?: D): Observable; -export function first(this: Observable, predicate: (value: T, index: number, source: Observable) => value is S, defaultValue?: S): Observable; -export function first(this: Observable, predicate: (value: T, index: number, source: Observable) => boolean, defaultValue?: D): Observable; -/* tslint:enable:max-line-length */ - -/** - * Emits only the first value (or the first value that meets some condition) - * emitted by the source Observable. - * - * Emits only the first value. Or emits only the first - * value that passes some test. - * - * - * - * If called with no arguments, `first` emits the first value of the source - * Observable, then completes. If called with a `predicate` function, `first` - * emits the first value of the source that matches the specified condition. It - * may also take a `resultSelector` function to produce the output value from - * the input value, and a `defaultValue` to emit in case the source completes - * before it is able to emit a valid value. Throws an error if `defaultValue` - * was not provided and a matching element is not found. - * - * @example Emit only the first click that happens on the DOM - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.first(); - * result.subscribe(x => console.log(x)); - * - * @example Emits the first click that happens on a DIV - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.first(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link find} - * @see {@link take} - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * - * @param {function(value: T, index: number, source: Observable): boolean} [predicate] - * An optional function called with each item to test for condition matching. - * @param {T} [defaultValue] The default value emitted in case no valid value - * was found on the source. - * @return {Observable} An Observable of the first item that matches the - * condition. - * @method first - * @owner Observable - */ -export function first(this: Observable, ...args: any[]): Observable { - return higherOrder(...args)(this); -} diff --git a/compat/operator/groupBy.ts b/compat/operator/groupBy.ts deleted file mode 100644 index 7c2240a13a..0000000000 --- a/compat/operator/groupBy.ts +++ /dev/null @@ -1,85 +0,0 @@ - -import { Observable, Subject } from 'rxjs'; -import { groupBy as higherOrder } from 'rxjs/operators'; -import { GroupedObservable } from 'rxjs/internal-compatibility'; - -/* tslint:disable:max-line-length */ -export function groupBy(this: Observable, keySelector: (value: T) => K): Observable>; -export function groupBy(this: Observable, keySelector: (value: T) => K, elementSelector: void, durationSelector: (grouped: GroupedObservable) => Observable): Observable>; -export function groupBy(this: Observable, keySelector: (value: T) => K, elementSelector?: (value: T) => R, durationSelector?: (grouped: GroupedObservable) => Observable): Observable>; -export function groupBy(this: Observable, keySelector: (value: T) => K, elementSelector?: (value: T) => R, durationSelector?: (grouped: GroupedObservable) => Observable, subjectSelector?: () => Subject): Observable>; -/* tslint:enable:max-line-length */ - -/** - * Groups the items emitted by an Observable according to a specified criterion, - * and emits these grouped items as `GroupedObservables`, one - * {@link GroupedObservable} per group. - * - * - * - * @example Group objects by id and return as array - * Observable.of({id: 1, name: 'aze1'}, - * {id: 2, name: 'sf2'}, - * {id: 2, name: 'dg2'}, - * {id: 1, name: 'erg1'}, - * {id: 1, name: 'df1'}, - * {id: 2, name: 'sfqfb2'}, - * {id: 3, name: 'qfs3'}, - * {id: 2, name: 'qsgqsfg2'} - * ) - * .groupBy(p => p.id) - * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], [])) - * .subscribe(p => console.log(p)); - * - * // displays: - * // [ { id: 1, name: 'aze1' }, - * // { id: 1, name: 'erg1' }, - * // { id: 1, name: 'df1' } ] - * // - * // [ { id: 2, name: 'sf2' }, - * // { id: 2, name: 'dg2' }, - * // { id: 2, name: 'sfqfb2' }, - * // { id: 2, name: 'qsgqsfg2' } ] - * // - * // [ { id: 3, name: 'qfs3' } ] - * - * @example Pivot data on the id field - * Observable.of({id: 1, name: 'aze1'}, - * {id: 2, name: 'sf2'}, - * {id: 2, name: 'dg2'}, - * {id: 1, name: 'erg1'}, - * {id: 1, name: 'df1'}, - * {id: 2, name: 'sfqfb2'}, - * {id: 3, name: 'qfs1'}, - * {id: 2, name: 'qsgqsfg2'} - * ) - * .groupBy(p => p.id, p => p.name) - * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], ["" + group$.key])) - * .map(arr => ({'id': parseInt(arr[0]), 'values': arr.slice(1)})) - * .subscribe(p => console.log(p)); - * - * // displays: - * // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } - * // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } - * // { id: 3, values: [ 'qfs1' ] } - * - * @param {function(value: T): K} keySelector A function that extracts the key - * for each item. - * @param {function(value: T): R} [elementSelector] A function that extracts the - * return element for each item. - * @param {function(grouped: GroupedObservable): Observable} [durationSelector] - * A function that returns an Observable to determine how long each group should - * exist. - * @return {Observable>} An Observable that emits - * GroupedObservables, each of which corresponds to a unique key value and each - * of which emits those items from the source Observable that share that key - * value. - * @method groupBy - * @owner Observable - */ -export function groupBy(this: Observable, keySelector: (value: T) => K, - elementSelector?: ((value: T) => R) | void, - durationSelector?: (grouped: GroupedObservable) => Observable, - subjectSelector?: () => Subject): Observable> { - return higherOrder(keySelector, elementSelector as any, durationSelector, subjectSelector)(this); -} diff --git a/compat/operator/ignoreElements.ts b/compat/operator/ignoreElements.ts deleted file mode 100644 index 510325ce13..0000000000 --- a/compat/operator/ignoreElements.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Observable } from 'rxjs'; -import { ignoreElements as higherOrder } from 'rxjs/operators'; - -/** - * Ignores all items emitted by the source Observable and only passes calls of `complete` or `error`. - * - * - * - * @return {Observable} An empty Observable that only calls `complete` - * or `error`, based on which one is called by the source Observable. - * @method ignoreElements - * @owner Observable - */ -export function ignoreElements(this: Observable): Observable { - return higherOrder()(this); -} diff --git a/compat/operator/isEmpty.ts b/compat/operator/isEmpty.ts deleted file mode 100644 index 45d1b38dec..0000000000 --- a/compat/operator/isEmpty.ts +++ /dev/null @@ -1,16 +0,0 @@ - -import { Observable } from 'rxjs'; -import { isEmpty as higherOrder } from 'rxjs/operators'; - -/** - * If the source Observable is empty it returns an Observable that emits true, otherwise it emits false. - * - * - * - * @return {Observable} An Observable that emits a Boolean. - * @method isEmpty - * @owner Observable - */ -export function isEmpty(this: Observable): Observable { - return higherOrder()(this); -} diff --git a/compat/operator/last.ts b/compat/operator/last.ts deleted file mode 100644 index 347182c710..0000000000 --- a/compat/operator/last.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Observable } from 'rxjs'; -import { last as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function last(this: Observable, predicate?: null, defaultValue?: D): Observable; -export function last(this: Observable, predicate: (value: T, index: number, source: Observable) => value is S, defaultValue?: S): Observable; -export function last(this: Observable, predicate: (value: T, index: number, source: Observable) => boolean, defaultValue?: D): Observable; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits only the last item emitted by the source Observable. - * It optionally takes a predicate function as a parameter, in which case, rather than emitting - * the last item from the source Observable, the resulting Observable will emit the last item - * from the source Observable that satisfies the predicate. - * - * - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * @param {function} [predicate] - The condition any source emitted item has to satisfy. - * @param {any} [defaultValue] - The default value to use if the predicate isn't - * satisfied, or no values were emitted (if no predicate). - * @return {Observable} An Observable that emits only the last item satisfying the given condition - * from the source, or an NoSuchElementException if no such items are emitted. - * @throws - Throws if no items that match the predicate are emitted by the source Observable. - * @method last - * @owner Observable - */ -export function last(this: Observable, ...args: any[]): Observable { - return higherOrder(...args)(this); -} diff --git a/compat/operator/let.ts b/compat/operator/let.ts deleted file mode 100644 index 7b8efeeb8c..0000000000 --- a/compat/operator/let.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Observable } from 'rxjs'; - -/** - * @param func - * @return {Observable} - * @method let - * @owner Observable - */ -export function letProto(this: Observable, func: (selector: Observable) => Observable): Observable { - return func(this); -} diff --git a/compat/operator/map.ts b/compat/operator/map.ts deleted file mode 100644 index 16b296e171..0000000000 --- a/compat/operator/map.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { map as higherOrderMap } from 'rxjs/operators'; -import { Observable } from 'rxjs'; - -/** - * Applies a given `project` function to each value emitted by the source - * Observable, and emits the resulting values as an Observable. - * - * Like [Array.prototype.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), - * it passes each source value through a transformation function to get - * corresponding output values. - * - * - * - * Similar to the well known `Array.prototype.map` function, this operator - * applies a projection to each value and emits that projection in the output - * Observable. - * - * @example Map every click to the clientX position of that click - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var positions = clicks.map(ev => ev.clientX); - * positions.subscribe(x => console.log(x)); - * - * @see {@link mapTo} - * @see {@link pluck} - * - * @param {function(value: T, index: number): R} project The function to apply - * to each `value` emitted by the source Observable. The `index` parameter is - * the number `i` for the i-th emission that has happened since the - * subscription, starting from the number `0`. - * @param {any} [thisArg] An optional argument to define what `this` is in the - * `project` function. - * @return {Observable} An Observable that emits the values from the source - * Observable transformed by the given `project` function. - * @method map - * @owner Observable - */ -export function map(this: Observable, project: (value: T, index: number) => R, thisArg?: any): Observable { - return higherOrderMap(project, thisArg)(this); -} diff --git a/compat/operator/mapTo.ts b/compat/operator/mapTo.ts deleted file mode 100644 index f9a79f00ba..0000000000 --- a/compat/operator/mapTo.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Observable } from 'rxjs'; -import { mapTo as higherOrder } from 'rxjs/operators'; - -/** - * Emits the given constant value on the output Observable every time the source - * Observable emits a value. - * - * Like {@link map}, but it maps every source value to - * the same output value every time. - * - * - * - * Takes a constant `value` as argument, and emits that whenever the source - * Observable emits a value. In other words, ignores the actual source value, - * and simply uses the emission moment to know when to emit the given `value`. - * - * @example Map every click to the string 'Hi' - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var greetings = clicks.mapTo('Hi'); - * greetings.subscribe(x => console.log(x)); - * - * @see {@link map} - * - * @param {any} value The value to map each source value to. - * @return {Observable} An Observable that emits the given `value` every time - * the source Observable emits something. - * @method mapTo - * @owner Observable - */ -export function mapTo(this: Observable, value: R): Observable { - return higherOrder(value)(this); -} diff --git a/compat/operator/materialize.ts b/compat/operator/materialize.ts deleted file mode 100644 index e04da27df2..0000000000 --- a/compat/operator/materialize.ts +++ /dev/null @@ -1,51 +0,0 @@ - -import { Observable, Notification } from 'rxjs'; -import { materialize as higherOrder } from 'rxjs/operators'; - -/** - * Represents all of the notifications from the source Observable as `next` - * emissions marked with their original types within {@link Notification} - * objects. - * - * Wraps `next`, `error` and `complete` emissions in - * {@link Notification} objects, emitted as `next` on the output Observable. - * - * - * - * - * `materialize` returns an Observable that emits a `next` notification for each - * `next`, `error`, or `complete` emission of the source Observable. When the - * source Observable emits `complete`, the output Observable will emit `next` as - * a Notification of type "complete", and then it will emit `complete` as well. - * When the source Observable emits `error`, the output will emit `next` as a - * Notification of type "error", and then `complete`. - * - * This operator is useful for producing metadata of the source Observable, to - * be consumed as `next` emissions. Use it in conjunction with - * {@link dematerialize}. - * - * @example Convert a faulty Observable to an Observable of Notifications - * var letters = Rx.Observable.of('a', 'b', 13, 'd'); - * var upperCase = letters.map(x => x.toUpperCase()); - * var materialized = upperCase.materialize(); - * materialized.subscribe(x => console.log(x)); - * - * // Results in the following: - * // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} - * // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} - * // - Notification {kind: "E", value: undefined, error: TypeError: - * // x.toUpperCase is not a function at MapSubscriber.letters.map.x - * // [as project] (http://1…, hasValue: false} - * - * @see {@link Notification} - * @see {@link dematerialize} - * - * @return {Observable>} An Observable that emits - * {@link Notification} objects that wrap the original emissions from the source - * Observable with metadata. - * @method materialize - * @owner Observable - */ -export function materialize(this: Observable): Observable> { - return higherOrder()(this) as Observable>; -} diff --git a/compat/operator/max.ts b/compat/operator/max.ts deleted file mode 100644 index d184f1204e..0000000000 --- a/compat/operator/max.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Observable } from 'rxjs'; -import { max as higherOrderMax } from 'rxjs/operators'; - -/** - * The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), - * and when source Observable completes it emits a single item: the item with the largest value. - * - * - * - * @example Get the maximal value of a series of numbers - * Rx.Observable.of(5, 4, 7, 2, 8) - * .max() - * .subscribe(x => console.log(x)); // -> 8 - * - * @example Use a comparer function to get the maximal item - * interface Person { - * age: number, - * name: string - * } - * Observable.of({age: 7, name: 'Foo'}, - * {age: 5, name: 'Bar'}, - * {age: 9, name: 'Beer'}) - * .max((a: Person, b: Person) => a.age < b.age ? -1 : 1) - * .subscribe((x: Person) => console.log(x.name)); // -> 'Beer' - * } - * - * @see {@link min} - * - * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the - * value of two items. - * @return {Observable} An Observable that emits item with the largest value. - * @method max - * @owner Observable - */ -export function max(this: Observable, comparer?: (x: T, y: T) => number): Observable { - return higherOrderMax(comparer)(this); -} diff --git a/compat/operator/merge.ts b/compat/operator/merge.ts deleted file mode 100644 index fce6560627..0000000000 --- a/compat/operator/merge.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { merge as mergeStatic, Observable, ObservableInput, SchedulerLike } from 'rxjs'; - -/* tslint:disable:max-line-length */ -export function merge(this: Observable, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, concurrent?: number, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, v3: ObservableInput, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, v3: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): Observable; -export function merge(this: Observable, ...observables: Array | SchedulerLike | number>): Observable; -export function merge(this: Observable, ...observables: Array | SchedulerLike | number>): Observable; -/* tslint:enable:max-line-length */ - -/** - * Creates an output Observable which concurrently emits all values from every - * given input Observable. - * - * Flattens multiple Observables together by blending - * their values into one Observable. - * - * - * - * `merge` subscribes to each given input Observable (either the source or an - * Observable given as argument), and simply forwards (without doing any - * transformation) all the values from all the input Observables to the output - * Observable. The output Observable only completes once all input Observables - * have completed. Any error delivered by an input Observable will be immediately - * emitted on the output Observable. - * - * @example Merge together two Observables: 1s interval and clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var timer = Rx.Observable.interval(1000); - * var clicksOrTimer = clicks.merge(timer); - * clicksOrTimer.subscribe(x => console.log(x)); - * - * @example Merge together 3 Observables, but only 2 run concurrently - * var timer1 = Rx.Observable.interval(1000).take(10); - * var timer2 = Rx.Observable.interval(2000).take(6); - * var timer3 = Rx.Observable.interval(500).take(10); - * var concurrent = 2; // the argument - * var merged = timer1.merge(timer2, timer3, concurrent); - * merged.subscribe(x => console.log(x)); - * - * @see {@link mergeAll} - * @see {@link mergeMap} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * - * @param {ObservableInput} other An input Observable to merge with the source - * Observable. More than one input Observables may be given as argument. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @param {Scheduler} [scheduler=null] The IScheduler to use for managing - * concurrency of input Observables. - * @return {Observable} An Observable that emits items that are the result of - * every input Observable. - * @method merge - * @owner Observable - */ -export function merge(this: Observable, ...observables: Array | SchedulerLike | number>): Observable { - return this.lift.call(mergeStatic(this, ...observables)); -} diff --git a/compat/operator/mergeAll.ts b/compat/operator/mergeAll.ts deleted file mode 100644 index d52d5551cb..0000000000 --- a/compat/operator/mergeAll.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { mergeAll as higherOrder } from 'rxjs/operators'; - -export function mergeAll(this: Observable>, concurrent?: number): Observable; -export function mergeAll(this: Observable, concurrent?: number): Observable; - -/** - * Converts a higher-order Observable into a first-order Observable which - * concurrently delivers all values that are emitted on the inner Observables. - * - * Flattens an Observable-of-Observables. - * - * - * - * `mergeAll` subscribes to an Observable that emits Observables, also known as - * a higher-order Observable. Each time it observes one of these emitted inner - * Observables, it subscribes to that and delivers all the values from the - * inner Observable on the output Observable. The output Observable only - * completes once all inner Observables have completed. Any error delivered by - * a inner Observable will be immediately emitted on the output Observable. - * - * @example Spawn a new interval Observable for each click event, and blend their outputs as one Observable - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); - * var firstOrder = higherOrder.mergeAll(); - * firstOrder.subscribe(x => console.log(x)); - * - * @example Count from 0 to 9 every second for each click, but only allow 2 concurrent timers - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); - * var firstOrder = higherOrder.mergeAll(2); - * firstOrder.subscribe(x => console.log(x)); - * - * @see {@link combineAll} - * @see {@link concatAll} - * @see {@link exhaust} - * @see {@link merge} - * @see {@link mergeMap} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * @see {@link switch} - * @see {@link zipAll} - * - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of inner - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits values coming from all the - * inner Observables emitted by the source Observable. - * @method mergeAll - * @owner Observable - */ -export function mergeAll(this: Observable>, concurrent: number = Number.POSITIVE_INFINITY): Observable { - return higherOrder(concurrent)(this); -} diff --git a/compat/operator/mergeMap.ts b/compat/operator/mergeMap.ts deleted file mode 100644 index a7ecd0c7d5..0000000000 --- a/compat/operator/mergeMap.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { mergeMap as higherOrderMergeMap } from 'rxjs/operators'; - -/** - * Projects each source value to an Observable which is merged in the output - * Observable. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link mergeAll}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an Observable, and then merging those resulting Observables and - * emitting the results of this merger. - * - * @example Map and flatten each letter to an Observable ticking every 1 second - * var letters = Rx.Observable.of('a', 'b', 'c'); - * var result = letters.mergeMap(x => - * Rx.Observable.interval(1000).map(i => x+i) - * ); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // a0 - * // b0 - * // c0 - * // a1 - * // b1 - * // c1 - * // continues to list a,b,c with respective ascending integers - * - * @see {@link concatMap} - * @see {@link exhaustMap} - * @see {@link merge} - * @see {@link mergeAll} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and merging the results of the Observables obtained - * from this transformation. - * @method mergeMap - * @owner Observable - */ -export function mergeMap(this: Observable, project: (value: T, index: number) => ObservableInput, - concurrent: number = Number.POSITIVE_INFINITY): Observable { - return higherOrderMergeMap(project, concurrent)(this) as Observable; -} diff --git a/compat/operator/mergeMapTo.ts b/compat/operator/mergeMapTo.ts deleted file mode 100644 index 659b9b0cc8..0000000000 --- a/compat/operator/mergeMapTo.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { mergeMapTo as higherOrder } from 'rxjs/operators'; - -/** - * Projects each source value to the same Observable which is merged multiple - * times in the output Observable. - * - * It's like {@link mergeMap}, but maps each value always - * to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then merges those resulting Observables into one - * single Observable, which is the output Observable. - * - * @example For each click event, start an interval Observable ticking every 1 second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMapTo} - * @see {@link merge} - * @see {@link mergeAll} - * @see {@link mergeMap} - * @see {@link mergeScan} - * @see {@link switchMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits items from the given - * `innerObservable`. - * @method mergeMapTo - * @owner Observable - */ -export function mergeMapTo(this: Observable, innerObservable: ObservableInput, - concurrent: number = Number.POSITIVE_INFINITY): Observable { - return higherOrder(innerObservable, concurrent)(this) as Observable; -} diff --git a/compat/operator/mergeScan.ts b/compat/operator/mergeScan.ts deleted file mode 100644 index d6835bcae5..0000000000 --- a/compat/operator/mergeScan.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { mergeScan as higherOrder } from 'rxjs/operators'; - -/** - * Applies an accumulator function over the source Observable where the - * accumulator function itself returns an Observable, then each intermediate - * Observable returned is merged into the output Observable. - * - * It's like {@link scan}, but the Observables returned - * by the accumulator are merged into the outer Observable. - * - * @example Count the number of click events - * const click$ = Rx.Observable.fromEvent(document, 'click'); - * const one$ = click$.mapTo(1); - * const seed = 0; - * const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); - * count$.subscribe(x => console.log(x)); - * - * // Results: - * 1 - * 2 - * 3 - * 4 - * // ...and so on for each click - * - * @param {function(acc: R, value: T): Observable} accumulator - * The accumulator function called on each source value. - * @param seed The initial accumulation value. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of - * input Observables being subscribed to concurrently. - * @return {Observable} An observable of the accumulated values. - * @method mergeScan - * @owner Observable - */ -export function mergeScan(this: Observable, - accumulator: (acc: R, value: T) => ObservableInput, - seed: R, - concurrent: number = Number.POSITIVE_INFINITY): Observable { - return higherOrder(accumulator, seed, concurrent)(this); -} diff --git a/compat/operator/min.ts b/compat/operator/min.ts deleted file mode 100644 index 194ecf33f9..0000000000 --- a/compat/operator/min.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Observable } from 'rxjs'; -import { min as higherOrderMin } from 'rxjs/operators'; - -/** - * The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), - * and when source Observable completes it emits a single item: the item with the smallest value. - * - * - * - * @example Get the minimal value of a series of numbers - * Rx.Observable.of(5, 4, 7, 2, 8) - * .min() - * .subscribe(x => console.log(x)); // -> 2 - * - * @example Use a comparer function to get the minimal item - * interface Person { - * age: number, - * name: string - * } - * Observable.of({age: 7, name: 'Foo'}, - * {age: 5, name: 'Bar'}, - * {age: 9, name: 'Beer'}) - * .min( (a: Person, b: Person) => a.age < b.age ? -1 : 1) - * .subscribe((x: Person) => console.log(x.name)); // -> 'Bar' - * } - * - * @see {@link max} - * - * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the - * value of two items. - * @return {Observable} An Observable that emits item with the smallest value. - * @method min - * @owner Observable - */ -export function min(this: Observable, comparer?: (x: T, y: T) => number): Observable { - return higherOrderMin(comparer)(this); -} diff --git a/compat/operator/multicast.ts b/compat/operator/multicast.ts deleted file mode 100644 index e6486f66cb..0000000000 --- a/compat/operator/multicast.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { ConnectableObservable, FactoryOrValue, MonoTypeOperatorFunction, OperatorFunction, Observable, Subject} from 'rxjs'; -import { multicast as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function multicast(this: Observable, subjectOrSubjectFactory: FactoryOrValue>): ConnectableObservable; -export function multicast(SubjectFactory: (this: Observable) => Subject): ConnectableObservable; -export function multicast(SubjectFactory: (this: Observable) => Subject, selector: MonoTypeOperatorFunction): Observable; -export function multicast(SubjectFactory: (this: Observable) => Subject): ConnectableObservable; -export function multicast(SubjectFactory: (this: Observable) => Subject, selector: OperatorFunction): Observable; -/* tslint:enable:max-line-length */ - -/** - * Allows source Observable to be subscribed only once with a Subject of choice, - * while still sharing its values between multiple subscribers. - * - * Subscribe to Observable once, but send its values to multiple subscribers. - * - * - * - * `multicast` is an operator that works in two modes. - * - * In the first mode you provide a single argument to it, which can be either an initialized Subject or a Subject - * factory. As a result you will get a special kind of an Observable - a {@link ConnectableObservable}. It can be - * subscribed multiple times, just as regular Observable, but it won't subscribe to the source Observable at that - * moment. It will do it only if you call its `connect` method. This means you can essentially control by hand, when - * source Observable will be actually subscribed. What is more, ConnectableObservable will share this one subscription - * between all of its subscribers. This means that, for example, `ajax` Observable will only send a request once, - * even though usually it would send a request per every subscriber. Since it sends a request at the moment of - * subscription, here request would be sent when the `connect` method of a ConnectableObservable is called. - * - * The most common pattern of using ConnectableObservable is calling `connect` when the first consumer subscribes, - * keeping the subscription alive while several consumers come and go and finally unsubscribing from the source - * Observable, when the last consumer unsubscribes. To not implement that logic over and over again, - * ConnectableObservable has a special operator, `refCount`. When called, it returns an Observable, which will count - * the number of consumers subscribed to it and keep ConnectableObservable connected as long as there is at least - * one consumer. So if you don't actually need to decide yourself when to connect and disconnect a - * ConnectableObservable, use `refCount`. - * - * The second mode is invoked by calling `multicast` with an additional, second argument - selector function. - * This function accepts an Observable - which basically mirrors the source Observable - and returns Observable - * as well, which should be the input stream modified by any operators you want. Note that in this - * mode you cannot provide initialized Subject as a first argument - it has to be a Subject factory. If - * you provide selector function, `multicast` returns just a regular Observable, instead of ConnectableObservable. - * Thus, as usual, each subscription to this stream triggers subscription to the source Observable. However, - * if inside the selector function you subscribe to the input Observable multiple times, actual source stream - * will be subscribed only once. So if you have a chain of operators that use some Observable many times, - * but you want to subscribe to that Observable only once, this is the mode you would use. - * - * Subject provided as a first parameter of `multicast` is used as a proxy for the single subscription to the - * source Observable. It means that all values from the source stream go through that Subject. Thus, if a Subject - * has some special properties, Observable returned by `multicast` will have them as well. If you want to use - * `multicast` with a Subject that is one of the ones included in RxJS by default - {@link Subject}, - * {@link AsyncSubject}, {@link BehaviorSubject}, or {@link ReplaySubject} - simply use {@link publish}, - * {@link publishLast}, {@link publishBehavior} or {@link publishReplay} respectively. These are actually - * just wrappers around `multicast`, with a specific Subject hardcoded inside. - * - * Also, if you use {@link publish} or {@link publishReplay} with a ConnectableObservables `refCount` operator, - * you can simply use {@link share} and {@link shareReplay} respectively, which chain these two. - * - * @example Use ConnectableObservable - * const seconds = Rx.Observable.interval(1000); - * const connectableSeconds = seconds.multicast(new Subject()); - * - * connectableSeconds.subscribe(value => console.log('first: ' + value)); - * connectableSeconds.subscribe(value => console.log('second: ' + value)); - * - * // At this point still nothing happens, even though we subscribed twice. - * - * connectableSeconds.connect(); - * - * // From now on `seconds` are being logged to the console, - * // twice per every second. `seconds` Observable was however only subscribed once, - * // so under the hood Observable.interval had only one clock started. - * - * @example Use selector - * const seconds = Rx.Observable.interval(1000); - * - * seconds - * .multicast( - * () => new Subject(), - * seconds => seconds.zip(seconds) // Usually zip would subscribe to `seconds` twice. - * // Because we are inside selector, `seconds` is subscribed once, - * ) // thus starting only one clock used internally by Observable.interval. - * .subscribe(); - * - * @see {@link publish} - * @see {@link publishLast} - * @see {@link publishBehavior} - * @see {@link publishReplay} - * @see {@link share} - * @see {@link shareReplay} - * - * @param {Function|Subject} subjectOrSubjectFactory - Factory function to create an intermediate Subject through - * which the source sequence's elements will be multicast to the selector function input Observable or - * ConnectableObservable returned by the operator. - * @param {Function} [selector] - Optional selector function that can use the input stream - * as many times as needed, without causing multiple subscriptions to the source stream. - * Subscribers to the input source will receive all notifications of the source from the - * time of the subscription forward. - * @return {Observable|ConnectableObservable} An Observable that emits the results of invoking the selector - * on the source stream or a special {@link ConnectableObservable}, if selector was not provided. - * - * @method multicast - * @owner Observable - */ -export function multicast(this: Observable, subjectOrSubjectFactory: Subject | (() => Subject), - selector?: (source: Observable) => Observable): ConnectableObservable | Observable { - return higherOrder(subjectOrSubjectFactory, selector)(this); -} diff --git a/compat/operator/observeOn.ts b/compat/operator/observeOn.ts deleted file mode 100644 index 398b4f9823..0000000000 --- a/compat/operator/observeOn.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Observable, SchedulerLike } from 'rxjs'; -import { observeOn as higherOrder } from 'rxjs/operators'; - -/** - * - * Re-emits all notifications from source Observable with specified scheduler. - * - * Ensure a specific scheduler is used, from outside of an Observable. - * - * `observeOn` is an operator that accepts a scheduler as a first parameter, which will be used to reschedule - * notifications emitted by the source Observable. It might be useful, if you do not have control over - * internal scheduler of a given Observable, but want to control when its values are emitted nevertheless. - * - * Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable, - * but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal - * scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits - * notification, it will be immediately scheduled again - this time with scheduler passed to `observeOn`. - * An anti-pattern would be calling `observeOn` on Observable that emits lots of values synchronously, to split - * that emissions into asynchronous chunks. For this to happen, scheduler would have to be passed into the source - * Observable directly (usually into the operator that creates it). `observeOn` simply delays notifications a - * little bit more, to ensure that they are emitted at expected moments. - * - * As a matter of fact, `observeOn` accepts second parameter, which specifies in milliseconds with what delay notifications - * will be emitted. The main difference between {@link delay} operator and `observeOn` is that `observeOn` - * will delay all notifications - including error notifications - while `delay` will pass through error - * from source Observable immediately when it is emitted. In general it is highly recommended to use `delay` operator - * for any kind of delaying of values in the stream, while using `observeOn` to specify which scheduler should be used - * for notification emissions in general. - * - * @example Ensure values in subscribe are called just before browser repaint. - * const intervals = Rx.Observable.interval(10); // Intervals are scheduled - * // with async scheduler by default... - * - * intervals - * .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame - * .subscribe(val => { // scheduler to ensure smooth animation. - * someDiv.style.height = val + 'px'; - * }); - * - * @see {@link delay} - * - * @param {SchedulerLike} scheduler Scheduler that will be used to reschedule notifications from source Observable. - * @param {number} [delay] Number of milliseconds that states with what delay every notification should be rescheduled. - * @return {Observable} Observable that emits the same notifications as the source Observable, - * but with provided scheduler. - * - * @method observeOn - * @owner Observable - */ -export function observeOn(this: Observable, scheduler: SchedulerLike, delay: number = 0): Observable { - return higherOrder(scheduler, delay)(this) as Observable; -} diff --git a/compat/operator/onErrorResumeNext.ts b/compat/operator/onErrorResumeNext.ts deleted file mode 100644 index 10ded87345..0000000000 --- a/compat/operator/onErrorResumeNext.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { onErrorResumeNext as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function onErrorResumeNext(): Observable; -export function onErrorResumeNext(this: Observable, v: ObservableInput): Observable; -export function onErrorResumeNext(this: Observable, v: ObservableInput): Observable; -export function onErrorResumeNext(this: Observable, v2: ObservableInput, v3: ObservableInput): Observable; -export function onErrorResumeNext(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput): Observable; -export function onErrorResumeNext(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput): Observable; -export function onErrorResumeNext(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput): Observable ; -export function onErrorResumeNext(this: Observable, ...observables: Array>): Observable; -export function onErrorResumeNext(this: Observable, array: ObservableInput[]): Observable; -/* tslint:enable:max-line-length */ - -/** - * When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one - * that was passed. - * - * Execute series of Observables no matter what, even if it means swallowing errors. - * - * - * - * `onErrorResumeNext` is an operator that accepts a series of Observables, provided either directly as - * arguments or as an array. If no single Observable is provided, returned Observable will simply behave the same - * as the source. - * - * `onErrorResumeNext` returns an Observable that starts by subscribing and re-emitting values from the source Observable. - * When its stream of values ends - no matter if Observable completed or emitted an error - `onErrorResumeNext` - * will subscribe to the first Observable that was passed as an argument to the method. It will start re-emitting - * its values as well and - again - when that stream ends, `onErrorResumeNext` will proceed to subscribing yet another - * Observable in provided series, no matter if previous Observable completed or ended with an error. This will - * be happening until there is no more Observables left in the series, at which point returned Observable will - * complete - even if the last subscribed stream ended with an error. - * - * `onErrorResumeNext` can be therefore thought of as version of {@link concat} operator, which is more permissive - * when it comes to the errors emitted by its input Observables. While `concat` subscribes to the next Observable - * in series only if previous one successfully completed, `onErrorResumeNext` subscribes even if it ended with - * an error. - * - * Note that you do not get any access to errors emitted by the Observables. In particular do not - * expect these errors to appear in error callback passed to {@link subscribe}. If you want to take - * specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead. - * - * - * @example Subscribe to the next Observable after map fails - * Rx.Observable.of(1, 2, 3, 0) - * .map(x => { - * if (x === 0) { throw Error(); } - return 10 / x; - * }) - * .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) - * .subscribe( - * val => console.log(val), - * err => console.log(err), // Will never be called. - * () => console.log('that\'s it!') - * ); - * - * // Logs: - * // 10 - * // 5 - * // 3.3333333333333335 - * // 1 - * // 2 - * // 3 - * // "that's it!" - * - * @see {@link concat} - * @see {@link catch} - * - * @param {...ObservableInput} observables Observables passed either directly or as an array. - * @return {Observable} An Observable that emits values from source Observable, but - if it errors - subscribes - * to the next passed Observable and so on, until it completes or runs out of Observables. - * @method onErrorResumeNext - * @owner Observable - */ - -export function onErrorResumeNext(this: Observable, ...nextSources: Array | - Array>>): Observable { - return higherOrder(...nextSources)(this); -} diff --git a/compat/operator/pairwise.ts b/compat/operator/pairwise.ts deleted file mode 100644 index 8358a222be..0000000000 --- a/compat/operator/pairwise.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Observable } from 'rxjs'; -import { pairwise as higherOrder } from 'rxjs/operators'; - -/** - * Groups pairs of consecutive emissions together and emits them as an array of - * two values. - * - * Puts the current value and previous value together as - * an array, and emits that. - * - * - * - * The Nth emission from the source Observable will cause the output Observable - * to emit an array [(N-1)th, Nth] of the previous and the current value, as a - * pair. For this reason, `pairwise` emits on the second and subsequent - * emissions from the source Observable, but not on the first emission, because - * there is no previous value in that case. - * - * @example On every click (starting from the second), emit the relative distance to the previous click - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var pairs = clicks.pairwise(); - * var distance = pairs.map(pair => { - * var x0 = pair[0].clientX; - * var y0 = pair[0].clientY; - * var x1 = pair[1].clientX; - * var y1 = pair[1].clientY; - * return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); - * }); - * distance.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * - * @return {Observable>} An Observable of pairs (as arrays) of - * consecutive values from the source Observable. - * @method pairwise - * @owner Observable - */ -export function pairwise(this: Observable): Observable<[T, T]> { - return higherOrder()(this) as Observable<[T, T]>; -} diff --git a/compat/operator/partition.ts b/compat/operator/partition.ts deleted file mode 100644 index eaa39a4ec3..0000000000 --- a/compat/operator/partition.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Observable } from 'rxjs'; -import { partition as higherOrder } from 'rxjs/operators'; -/** - * Splits the source Observable into two, one with values that satisfy a - * predicate, and another with values that don't satisfy the predicate. - * - * It's like {@link filter}, but returns two Observables: - * one like the output of {@link filter}, and the other with values that did not - * pass the condition. - * - * - * - * `partition` outputs an array with two Observables that partition the values - * from the source Observable through the given `predicate` function. The first - * Observable in that array emits source values for which the predicate argument - * returns true. The second Observable emits source values for which the - * predicate returns false. The first behaves like {@link filter} and the second - * behaves like {@link filter} with the predicate negated. - * - * @example Partition click events into those on DIV elements and those elsewhere - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); - * var clicksOnDivs = parts[0]; - * var clicksElsewhere = parts[1]; - * clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); - * clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); - * - * @see {@link filter} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates each value emitted by the source Observable. If it returns `true`, - * the value is emitted on the first Observable in the returned array, if - * `false` the value is emitted on the second Observable in the array. The - * `index` parameter is the number `i` for the i-th source emission that has - * happened since the subscription, starting from the number `0`. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {[Observable, Observable]} An array with two Observables: one - * with values that passed the predicate, and another with values that did not - * pass the predicate. - * @method partition - * @owner Observable - */ -export function partition(this: Observable, predicate: (value: T, index: number) => boolean, thisArg?: any): [Observable, Observable] { - return higherOrder(predicate, thisArg)(this); -} diff --git a/compat/operator/pluck.ts b/compat/operator/pluck.ts deleted file mode 100644 index 2e1b990743..0000000000 --- a/compat/operator/pluck.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Observable } from 'rxjs'; -import { pluck as higherOrder } from 'rxjs/operators'; - -/** - * Maps each source value (an object) to its specified nested property. - * - * Like {@link map}, but meant only for picking one of - * the nested properties of every emitted object. - * - * - * - * Given a list of strings describing a path to an object property, retrieves - * the value of a specified nested property from all values in the source - * Observable. If a property can't be resolved, it will return `undefined` for - * that value. - * - * @example Map every click to the tagName of the clicked target element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var tagNames = clicks.pluck('target', 'tagName'); - * tagNames.subscribe(x => console.log(x)); - * - * @see {@link map} - * - * @param {...string} properties The nested properties to pluck from each source - * value (an object). - * @return {Observable} A new Observable of property values from the source values. - * @method pluck - * @owner Observable - */ -export function pluck(this: Observable, ...properties: string[]): Observable { - // @ts-ignore - return higherOrder(...properties)(this) as Observable; -} diff --git a/compat/operator/publish.ts b/compat/operator/publish.ts deleted file mode 100644 index 12f68e3b48..0000000000 --- a/compat/operator/publish.ts +++ /dev/null @@ -1,28 +0,0 @@ - -import { ConnectableObservable, Observable } from 'rxjs'; -import { publish as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function publish(this: Observable): ConnectableObservable; -export function publish(this: Observable, selector: (source: Observable) => Observable): Observable; -export function publish(this: Observable, selector: (source: Observable) => Observable): Observable; -/* tslint:enable:max-line-length */ - -/** - * Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called - * before it begins emitting items to those Observers that have subscribed to it. - * - * - * - * @param {Function} [selector] - Optional selector function which can use the multicasted source sequence as many times - * as needed, without causing multiple subscriptions to the source sequence. - * Subscribers to the given source will receive all notifications of the source from the time of the subscription on. - * @return A ConnectableObservable that upon connection causes the source Observable to emit items to its Observers. - * @method publish - * @owner Observable - */ -export function publish(this: Observable, selector?: (source: Observable) => Observable): Observable | ConnectableObservable { - return higherOrder(selector)(this); -} - -export type selector = (source: Observable) => Observable; diff --git a/compat/operator/publishBehavior.ts b/compat/operator/publishBehavior.ts deleted file mode 100644 index 3919ea4283..0000000000 --- a/compat/operator/publishBehavior.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { ConnectableObservable, Observable } from 'rxjs'; -import { publishBehavior as higherOrder } from 'rxjs/operators'; - -/** - * @param value - * @return {ConnectableObservable} - * @method publishBehavior - * @owner Observable - */ -export function publishBehavior(this: Observable, value: T): ConnectableObservable { - return higherOrder(value)(this); -} diff --git a/compat/operator/publishLast.ts b/compat/operator/publishLast.ts deleted file mode 100644 index d2f7cf7889..0000000000 --- a/compat/operator/publishLast.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { ConnectableObservable, Observable } from 'rxjs'; -import { publishLast as higherOrder } from 'rxjs/operators'; -/** - * @return {ConnectableObservable} - * @method publishLast - * @owner Observable - */ -export function publishLast(this: Observable): ConnectableObservable { - //TODO(benlesh): correct type-flow through here. - return higherOrder()(this) as ConnectableObservable; -} diff --git a/compat/operator/publishReplay.ts b/compat/operator/publishReplay.ts deleted file mode 100644 index 8136bc7b66..0000000000 --- a/compat/operator/publishReplay.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ConnectableObservable, Observable, OperatorFunction, MonoTypeOperatorFunction, SchedulerLike } from 'rxjs'; -import { publishReplay as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function publishReplay(this: Observable, bufferSize?: number, windowTime?: number, scheduler?: SchedulerLike): ConnectableObservable; -export function publishReplay(this: Observable, bufferSize?: number, windowTime?: number, selector?: OperatorFunction): Observable; -export function publishReplay(this: Observable, bufferSize?: number, windowTime?: number, selector?: MonoTypeOperatorFunction, scheduler?: SchedulerLike): Observable; -/* tslint:enable:max-line-length */ - -/** - * @param bufferSize - * @param windowTime - * @param selectorOrScheduler - * @param scheduler - * @return {Observable | ConnectableObservable} - * @method publishReplay - * @owner Observable - */ -export function publishReplay(this: Observable, bufferSize?: number, - windowTime?: number, - selectorOrScheduler?: SchedulerLike | OperatorFunction, - scheduler?: SchedulerLike): Observable | ConnectableObservable { - - return higherOrder(bufferSize, windowTime, selectorOrScheduler as any, scheduler)(this); -} diff --git a/compat/operator/race.ts b/compat/operator/race.ts deleted file mode 100644 index 709aabb4c2..0000000000 --- a/compat/operator/race.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Observable } from 'rxjs'; -import { race as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function race(this: Observable, observables: Array>): Observable; -export function race(this: Observable, observables: Array>): Observable; -export function race(this: Observable, ...observables: Array | Array>>): Observable; -export function race(this: Observable, ...observables: Array | Array>>): Observable; -/* tslint:enable:max-line-length */ - -/** - * Returns an Observable that mirrors the first source Observable to emit an item - * from the combination of this Observable and supplied Observables. - * @param {...Observables} ...observables Sources used to race for which Observable emits first. - * @return {Observable} An Observable that mirrors the output of the first Observable to emit an item. - * @method race - * @owner Observable - */ -export function race(this: Observable, ...observables: Array | Array>>): Observable { - return higherOrder(...observables)(this); -} diff --git a/compat/operator/reduce.ts b/compat/operator/reduce.ts deleted file mode 100644 index 956174fb86..0000000000 --- a/compat/operator/reduce.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Observable } from 'rxjs'; -import { reduce as higherOrderReduce } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function reduce(this: Observable, accumulator: (acc: R, value: T, index: number) => R, seed: R): Observable; -export function reduce(this: Observable, accumulator: (acc: T, value: T, index: number) => T, seed?: T): Observable; -export function reduce(this: Observable, accumulator: (acc: R, value: T, index: number) => R): Observable; -/* tslint:enable:max-line-length */ - -/** - * Applies an accumulator function over the source Observable, and returns the - * accumulated result when the source completes, given an optional seed value. - * - * Combines together all values emitted on the source, - * using an accumulator function that knows how to join a new source value into - * the accumulation from the past. - * - * - * - * Like - * [Array.prototype.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce), - * `reduce` applies an `accumulator` function against an accumulation and each - * value of the source Observable (from the past) to reduce it to a single - * value, emitted on the output Observable. Note that `reduce` will only emit - * one value, only when the source Observable completes. It is equivalent to - * applying operator {@link scan} followed by operator {@link last}. - * - * Returns an Observable that applies a specified `accumulator` function to each - * item emitted by the source Observable. If a `seed` value is specified, then - * that value will be used as the initial value for the accumulator. If no seed - * value is specified, the first item of the source is used as the seed. - * - * @example Count the number of click events that happened in 5 seconds - * var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') - * .takeUntil(Rx.Observable.interval(5000)); - * var ones = clicksInFiveSeconds.mapTo(1); - * var seed = 0; - * var count = ones.reduce((acc, one) => acc + one, seed); - * count.subscribe(x => console.log(x)); - * - * @see {@link count} - * @see {@link expand} - * @see {@link mergeScan} - * @see {@link scan} - * - * @param {function(acc: R, value: T, index: number): R} accumulator The accumulator function - * called on each source value. - * @param {R} [seed] The initial accumulation value. - * @return {Observable} An Observable that emits a single value that is the - * result of accumulating the values emitted by the source Observable. - * @method reduce - * @owner Observable - */ -export function reduce(this: Observable, accumulator: (acc: T | R, value: T, index?: number) => (T | R), seed?: R): Observable { - // providing a seed of `undefined` *should* be valid and trigger - // hasSeed! so don't use `seed !== undefined` checks! - // For this reason, we have to check it here at the original call site - // otherwise inside Operator/Subscriber we won't know if `undefined` - // means they didn't provide anything or if they literally provided `undefined` - if (arguments.length >= 2) { - return higherOrderReduce(accumulator, seed)(this); - } - - return higherOrderReduce(accumulator)(this); -} diff --git a/compat/operator/repeat.ts b/compat/operator/repeat.ts deleted file mode 100644 index e93eab666a..0000000000 --- a/compat/operator/repeat.ts +++ /dev/null @@ -1,19 +0,0 @@ - -import { Observable } from 'rxjs'; -import { repeat as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times. - * - * - * - * @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield - * an empty Observable. - * @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most - * count times. - * @method repeat - * @owner Observable - */ -export function repeat(this: Observable, count: number = -1): Observable { - return higherOrder(count)(this) as Observable; -} diff --git a/compat/operator/repeatWhen.ts b/compat/operator/repeatWhen.ts deleted file mode 100644 index b6ab7f0296..0000000000 --- a/compat/operator/repeatWhen.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Observable } from 'rxjs'; -import { repeatWhen as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that mirrors the source Observable with the exception of a `complete`. If the source - * Observable calls `complete`, this method will emit to the Observable returned from `notifier`. If that Observable - * calls `complete` or `error`, then this method will call `complete` or `error` on the child subscription. Otherwise - * this method will resubscribe to the source Observable. - * - * - * - * @param {function(notifications: Observable): Observable} notifier - Receives an Observable of notifications with - * which a user can `complete` or `error`, aborting the repetition. - * @return {Observable} The source Observable modified with repeat logic. - * @method repeatWhen - * @owner Observable - */ -export function repeatWhen(this: Observable, notifier: (notifications: Observable) => Observable): Observable { - return higherOrder(notifier)(this) as Observable; -} diff --git a/compat/operator/retry.ts b/compat/operator/retry.ts deleted file mode 100644 index fb537e1d55..0000000000 --- a/compat/operator/retry.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Observable } from 'rxjs'; -import { retry as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable - * calls `error`, this method will resubscribe to the source Observable for a maximum of `count` resubscriptions (given - * as a number parameter) rather than propagating the `error` call. - * - * - * - * Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted - * during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second - * time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications - * would be: [1, 2, 1, 2, 3, 4, 5, `complete`]. - * @param {number} count - Number of retry attempts before failing. - * @return {Observable} The source Observable modified with the retry logic. - * @method retry - * @owner Observable - */ -export function retry(this: Observable, count: number = -1): Observable { - return higherOrder(count)(this) as Observable; -} diff --git a/compat/operator/retryWhen.ts b/compat/operator/retryWhen.ts deleted file mode 100644 index 68640ef3e4..0000000000 --- a/compat/operator/retryWhen.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Observable } from 'rxjs'; -import { retryWhen as higherOrder } from 'rxjs/operators'; -/** - * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable - * calls `error`, this method will emit the Throwable that caused the error to the Observable returned from `notifier`. - * If that Observable calls `complete` or `error` then this method will call `complete` or `error` on the child - * subscription. Otherwise this method will resubscribe to the source Observable. - * - * - * - * @param {function(errors: Observable): Observable} notifier - Receives an Observable of notifications with which a - * user can `complete` or `error`, aborting the retry. - * @return {Observable} The source Observable modified with retry logic. - * @method retryWhen - * @owner Observable - */ -export function retryWhen(this: Observable, notifier: (errors: Observable) => Observable): Observable { - return higherOrder(notifier)(this) as Observable; -} diff --git a/compat/operator/sample.ts b/compat/operator/sample.ts deleted file mode 100644 index 60ca7fff21..0000000000 --- a/compat/operator/sample.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Observable } from 'rxjs'; -import { sample as higherOrder } from 'rxjs/operators'; - -/** - * Emits the most recently emitted value from the source Observable whenever - * another Observable, the `notifier`, emits. - * - * It's like {@link sampleTime}, but samples whenever - * the `notifier` Observable emits something. - * - * - * - * Whenever the `notifier` Observable emits a value or completes, `sample` - * looks at the source Observable and emits whichever value it has most recently - * emitted since the previous sampling, unless the source has not emitted - * anything since the previous sampling. The `notifier` is subscribed to as soon - * as the output Observable is subscribed. - * - * @example On every click, sample the most recent "seconds" timer - * var seconds = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = seconds.sample(clicks); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounce} - * @see {@link sampleTime} - * @see {@link throttle} - * - * @param {Observable} notifier The Observable to use for sampling the - * source Observable. - * @return {Observable} An Observable that emits the results of sampling the - * values emitted by the source Observable whenever the notifier Observable - * emits value or completes. - * @method sample - * @owner Observable - */ -export function sample(this: Observable, notifier: Observable): Observable { - return higherOrder(notifier)(this) as Observable; -} diff --git a/compat/operator/sampleTime.ts b/compat/operator/sampleTime.ts deleted file mode 100644 index 6f540a8075..0000000000 --- a/compat/operator/sampleTime.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { sampleTime as higherOrder } from 'rxjs/operators'; - -/** - * Emits the most recently emitted value from the source Observable within - * periodic time intervals. - * - * Samples the source Observable at periodic time - * intervals, emitting what it samples. - * - * - * - * `sampleTime` periodically looks at the source Observable and emits whichever - * value it has most recently emitted since the previous sampling, unless the - * source has not emitted anything since the previous sampling. The sampling - * happens periodically in time every `period` milliseconds (or the time unit - * defined by the optional `scheduler` argument). The sampling starts as soon as - * the output Observable is subscribed. - * - * @example Every second, emit the most recent click at most once - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.sampleTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sample} - * @see {@link throttleTime} - * - * @param {number} period The sampling period expressed in milliseconds or the - * time unit determined internally by the optional `scheduler`. - * @param {Scheduler} [scheduler=asyncScheduler] The {@link SchedulerLike} to use for - * managing the timers that handle the sampling. - * @return {Observable} An Observable that emits the results of sampling the - * values emitted by the source Observable at the specified time interval. - * @method sampleTime - * @owner Observable - */ -export function sampleTime(this: Observable, period: number, scheduler: SchedulerLike = asyncScheduler): Observable { - return higherOrder(period, scheduler)(this) as Observable; -} diff --git a/compat/operator/scan.ts b/compat/operator/scan.ts deleted file mode 100644 index 97c41b94fb..0000000000 --- a/compat/operator/scan.ts +++ /dev/null @@ -1,55 +0,0 @@ - -import { Observable } from 'rxjs'; -import { scan as higherOrderScan } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function scan(this: Observable, accumulator: (acc: R, value: T, index: number) => R, seed: R): Observable; -export function scan(this: Observable, accumulator: (acc: T, value: T, index: number) => T, seed?: T): Observable; -export function scan(this: Observable, accumulator: (acc: R, value: T, index: number) => R): Observable; -/* tslint:enable:max-line-length */ - -/** - * Applies an accumulator function over the source Observable, and returns each - * intermediate result, with an optional seed value. - * - * It's like {@link reduce}, but emits the current - * accumulation whenever the source emits a value. - * - * - * - * Combines together all values emitted on the source, using an accumulator - * function that knows how to join a new source value into the accumulation from - * the past. Is similar to {@link reduce}, but emits the intermediate - * accumulations. - * - * Returns an Observable that applies a specified `accumulator` function to each - * item emitted by the source Observable. If a `seed` value is specified, then - * that value will be used as the initial value for the accumulator. If no seed - * value is specified, the first item of the source is used as the seed. - * - * @example Count the number of click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var ones = clicks.mapTo(1); - * var seed = 0; - * var count = ones.scan((acc, one) => acc + one, seed); - * count.subscribe(x => console.log(x)); - * - * @see {@link expand} - * @see {@link mergeScan} - * @see {@link reduce} - * - * @param {function(acc: R, value: T, index: number): R} accumulator - * The accumulator function called on each source value. - * @param {T|R} [seed] The initial accumulation value. - * @return {Observable} An observable of the accumulated values. - * @method scan - * @owner Observable - */ -export function scan(this: Observable, - accumulator: (acc: T | R, value: T, index: number) => T | R, - seed?: T | R): Observable { - if (arguments.length >= 2) { - return higherOrderScan(accumulator, seed)(this); - } - return higherOrderScan(accumulator)(this); -} diff --git a/compat/operator/sequenceEqual.ts b/compat/operator/sequenceEqual.ts deleted file mode 100644 index c6d79c9add..0000000000 --- a/compat/operator/sequenceEqual.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Observable } from 'rxjs'; -import { sequenceEqual as higherOrder } from 'rxjs/operators'; - -/** - * Compares all values of two observables in sequence using an optional comparor function - * and returns an observable of a single boolean value representing whether or not the two sequences - * are equal. - * - * Checks to see of all values emitted by both observables are equal, in order. - * - * - * - * `sequenceEqual` subscribes to two observables and buffers incoming values from each observable. Whenever either - * observable emits a value, the value is buffered and the buffers are shifted and compared from the bottom - * up; If any value pair doesn't match, the returned observable will emit `false` and complete. If one of the - * observables completes, the operator will wait for the other observable to complete; If the other - * observable emits before completing, the returned observable will emit `false` and complete. If one observable never - * completes or emits after the other complets, the returned observable will never complete. - * - * @example figure out if the Konami code matches - * var code = Rx.Observable.from([ - * "ArrowUp", - * "ArrowUp", - * "ArrowDown", - * "ArrowDown", - * "ArrowLeft", - * "ArrowRight", - * "ArrowLeft", - * "ArrowRight", - * "KeyB", - * "KeyA", - * "Enter" // no start key, clearly. - * ]); - * - * var keys = Rx.Observable.fromEvent(document, 'keyup') - * .map(e => e.code); - * var matches = keys.bufferCount(11, 1) - * .mergeMap( - * last11 => - * Rx.Observable.from(last11) - * .sequenceEqual(code) - * ); - * matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); - * - * @see {@link combineLatest} - * @see {@link zip} - * @see {@link withLatestFrom} - * - * @param {Observable} compareTo The observable sequence to compare the source sequence to. - * @param {function} [comparor] An optional function to compare each value pair - * @return {Observable} An Observable of a single boolean value representing whether or not - * the values emitted by both observables were equal in sequence. - * @method sequenceEqual - * @owner Observable - */ -export function sequenceEqual(this: Observable, compareTo: Observable, - comparor?: (a: T, b: T) => boolean): Observable { - return higherOrder(compareTo, comparor)(this); -} diff --git a/compat/operator/share.ts b/compat/operator/share.ts deleted file mode 100644 index 0993691744..0000000000 --- a/compat/operator/share.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Observable } from 'rxjs'; -import { share as higherOrder } from 'rxjs/operators'; - -/** - * Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one - * Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will - * unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`. - * - * This behaves similarly to .publish().refCount(), with a behavior difference when the source observable emits complete. - * .publish().refCount() will not resubscribe to the original source, however .share() will resubscribe to the original source. - * Observable.of("test").publish().refCount() will not re-emit "test" on new subscriptions, Observable.of("test").share() will - * re-emit "test" to new subscriptions. - * - * - * - * @return {Observable} An Observable that upon connection causes the source Observable to emit items to its Observers. - * @method share - * @owner Observable - */ -export function share(this: Observable): Observable { - return higherOrder()(this) as Observable; -} diff --git a/compat/operator/shareReplay.ts b/compat/operator/shareReplay.ts deleted file mode 100644 index b13ab405b5..0000000000 --- a/compat/operator/shareReplay.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Observable, SchedulerLike } from 'rxjs'; -import { shareReplay as higherOrder } from 'rxjs/operators'; -import { ShareReplayConfig } from 'rxjs/internal-compatibility'; - -/** - * @method shareReplay - * @owner Observable - */ -export function shareReplay(this: Observable, config: ShareReplayConfig): Observable; -export function shareReplay(this: Observable, bufferSize?: number, windowTime?: number, scheduler?: SchedulerLike): Observable; -export function shareReplay(this: Observable, configOrBufferSize?: ShareReplayConfig | number, windowTime?: number, scheduler?: SchedulerLike): - Observable { - if (configOrBufferSize && typeof configOrBufferSize === 'object') { - return higherOrder(configOrBufferSize as ShareReplayConfig)(this) as Observable; - } - return higherOrder(configOrBufferSize as number | undefined, windowTime, scheduler)(this) as Observable; -} diff --git a/compat/operator/single.ts b/compat/operator/single.ts deleted file mode 100644 index 8fb1a35b42..0000000000 --- a/compat/operator/single.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Observable } from 'rxjs'; -import { single as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that emits the single item emitted by the source Observable that matches a specified - * predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no - * such items, notify of an IllegalArgumentException or NoSuchElementException respectively. - * - * - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * @param {Function} predicate - A predicate function to evaluate items emitted by the source Observable. - * @return {Observable} An Observable that emits the single item emitted by the source Observable that matches - * the predicate. - . - * @method single - * @owner Observable - */ -export function single(this: Observable, predicate?: (value: T, index: number, source: Observable) => boolean): Observable { - return higherOrder(predicate)(this); -} diff --git a/compat/operator/skip.ts b/compat/operator/skip.ts deleted file mode 100644 index c2262265d4..0000000000 --- a/compat/operator/skip.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Observable } from 'rxjs'; -import { skip as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that skips the first `count` items emitted by the source Observable. - * - * - * - * @param {Number} count - The number of times, items emitted by source Observable should be skipped. - * @return {Observable} An Observable that skips values emitted by the source Observable. - * - * @method skip - * @owner Observable - */ -export function skip(this: Observable, count: number): Observable { - return higherOrder(count)(this) as Observable; -} diff --git a/compat/operator/skipLast.ts b/compat/operator/skipLast.ts deleted file mode 100644 index b3aa97a45e..0000000000 --- a/compat/operator/skipLast.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Observable } from 'rxjs'; -import { skipLast as higherOrder } from 'rxjs/operators'; - -/** - * Skip the last `count` values emitted by the source Observable. - * - * - * - * `skipLast` returns an Observable that accumulates a queue with a length - * enough to store the first `count` values. As more values are received, - * values are taken from the front of the queue and produced on the result - * sequence. This causes values to be delayed. - * - * @example Skip the last 2 values of an Observable with many values - * var many = Rx.Observable.range(1, 5); - * var skipLastTwo = many.skipLast(2); - * skipLastTwo.subscribe(x => console.log(x)); - * - * // Results in: - * // 1 2 3 - * - * @see {@link skip} - * @see {@link skipUntil} - * @see {@link skipWhile} - * @see {@link take} - * - * @throws {ArgumentOutOfRangeError} When using `skipLast(i)`, it throws - * ArgumentOutOrRangeError if `i < 0`. - * - * @param {number} count Number of elements to skip from the end of the source Observable. - * @returns {Observable} An Observable that skips the last count values - * emitted by the source Observable. - * @method skipLast - * @owner Observable - */ -export function skipLast(this: Observable, count: number): Observable { - return higherOrder(count)(this) as Observable; -} diff --git a/compat/operator/skipUntil.ts b/compat/operator/skipUntil.ts deleted file mode 100644 index 1bd810fa0f..0000000000 --- a/compat/operator/skipUntil.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Observable } from 'rxjs'; -import { skipUntil as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item. - * - * - * - * @param {Observable} notifier - The second Observable that has to emit an item before the source Observable's elements begin to - * be mirrored by the resulting Observable. - * @return {Observable} An Observable that skips items from the source Observable until the second Observable emits - * an item, then emits the remaining items. - * @method skipUntil - * @owner Observable - */ -export function skipUntil(this: Observable, notifier: Observable): Observable { - return higherOrder(notifier)(this) as Observable; -} diff --git a/compat/operator/skipWhile.ts b/compat/operator/skipWhile.ts deleted file mode 100644 index e1c43ab693..0000000000 --- a/compat/operator/skipWhile.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Observable } from 'rxjs'; -import { skipWhile as higherOrder } from 'rxjs/operators'; - -/** - * Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds - * true, but emits all further source items as soon as the condition becomes false. - * - * - * - * @param {Function} predicate - A function to test each item emitted from the source Observable. - * @return {Observable} An Observable that begins emitting items emitted by the source Observable when the - * specified predicate becomes false. - * @method skipWhile - * @owner Observable - */ -export function skipWhile(this: Observable, predicate: (value: T, index: number) => boolean): Observable { - return higherOrder(predicate)(this); -} diff --git a/compat/operator/startWith.ts b/compat/operator/startWith.ts deleted file mode 100644 index 6f01fe9395..0000000000 --- a/compat/operator/startWith.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Observable, SchedulerLike } from 'rxjs'; -import { startWith as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function startWith(this: Observable, scheduler?: SchedulerLike): Observable; -export function startWith(this: Observable, v1: D, scheduler?: SchedulerLike): Observable; -export function startWith(this: Observable, v1: D, v2: E, scheduler?: SchedulerLike): Observable; -export function startWith(this: Observable, v1: D, v2: E, v3: F, scheduler?: SchedulerLike): Observable; -export function startWith(this: Observable, v1: D, v2: E, v3: F, v4: G, scheduler?: SchedulerLike): Observable; -export function startWith(this: Observable, v1: D, v2: E, v3: F, v4: G, v5: H, scheduler?: SchedulerLike): Observable; -export function startWith(this: Observable, v1: D, v2: E, v3: F, v4: G, v5: H, v6: I, scheduler?: SchedulerLike): Observable; -export function startWith(this: Observable, ...array: Array): Observable; -/* tslint:enable:max-line-length */ - -/** - * Returns an Observable that emits the items you specify as arguments before it begins to emit - * items emitted by the source Observable. - * - * - * - * @param {...T} values - Items you want the modified Observable to emit first. - * @param {Scheduler} [scheduler] - A {@link IScheduler} to use for scheduling - * the emissions of the `next` notifications. - * @return {Observable} An Observable that emits the items in the specified Iterable and then emits the items - * emitted by the source Observable. - * @method startWith - * @owner Observable - */ -export function startWith(this: Observable, ...array: Array): Observable { - return higherOrder(...array)(this); -} diff --git a/compat/operator/subscribeOn.ts b/compat/operator/subscribeOn.ts deleted file mode 100644 index af5743d785..0000000000 --- a/compat/operator/subscribeOn.ts +++ /dev/null @@ -1,18 +0,0 @@ - -import { Observable, SchedulerLike } from 'rxjs'; -import { subscribeOn as higherOrder } from 'rxjs/operators'; - -/** - * Asynchronously subscribes Observers to this Observable on the specified IScheduler. - * - * - * - * @param {Scheduler} scheduler - The IScheduler to perform subscription actions on. - * @return {Observable} The source Observable modified so that its subscriptions happen on the specified IScheduler. - . - * @method subscribeOn - * @owner Observable - */ -export function subscribeOn(this: Observable, scheduler: SchedulerLike, delay: number = 0): Observable { - return higherOrder(scheduler, delay)(this) as Observable; -} diff --git a/compat/operator/switch.ts b/compat/operator/switch.ts deleted file mode 100644 index 563f6b506d..0000000000 --- a/compat/operator/switch.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { switchAll as higherOrder } from 'rxjs/operators'; - -export function _switch(this: Observable>): Observable; -export function _switch(this: Observable): Observable; - -/** - * Converts a higher-order Observable into a first-order Observable by - * subscribing to only the most recently emitted of those inner Observables. - * - * Flattens an Observable-of-Observables by dropping the - * previous inner Observable once a new one appears. - * - * - * - * `switch` subscribes to an Observable that emits Observables, also known as a - * higher-order Observable. Each time it observes one of these emitted inner - * Observables, the output Observable subscribes to the inner Observable and - * begins emitting the items emitted by that. So far, it behaves - * like {@link mergeAll}. However, when a new inner Observable is emitted, - * `switch` unsubscribes from the earlier-emitted inner Observable and - * subscribes to the new inner Observable and begins emitting items from it. It - * continues to behave like this for subsequent inner Observables. - * - * @example Rerun an interval Observable on every click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * // Each click event is mapped to an Observable that ticks every second - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); - * var switched = higherOrder.switch(); - * // The outcome is that `switched` is essentially a timer that restarts - * // on every click. The interval Observables from older clicks do not merge - * // with the current interval Observable. - * switched.subscribe(x => console.log(x)); - * - * @see {@link combineAll} - * @see {@link concatAll} - * @see {@link exhaust} - * @see {@link mergeAll} - * @see {@link switchMap} - * @see {@link switchMapTo} - * @see {@link zipAll} - * - * @return {Observable} An Observable that emits the items emitted by the - * Observable most recently emitted by the source Observable. - * @method switch - * @name switch - * @owner Observable - */ -export function _switch(this: Observable>): Observable { - return higherOrder()(this) as Observable; -} diff --git a/compat/operator/switchMap.ts b/compat/operator/switchMap.ts deleted file mode 100644 index 5d2b390a61..0000000000 --- a/compat/operator/switchMap.ts +++ /dev/null @@ -1,46 +0,0 @@ - -import { Observable, ObservableInput } from 'rxjs'; -import { switchMap as higherOrderSwitchMap } from 'rxjs/operators'; - -/** - * Projects each source value to an Observable which is merged in the output - * Observable, emitting values only from the most recently projected Observable. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link switch}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. Each time it observes one of these - * inner Observables, the output Observable begins emitting the items emitted by - * that inner Observable. When a new inner Observable is emitted, `switchMap` - * stops emitting items from the earlier-emitted inner Observable and begins - * emitting items from the new one. It continues to behave like this for - * subsequent inner Observables. - * - * @example Rerun an interval Observable on every click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMap} - * @see {@link exhaustMap} - * @see {@link mergeMap} - * @see {@link switch} - * @see {@link switchMapTo} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and taking only the values from the most recently - * projected inner Observable. - * @method switchMap - * @owner Observable - */ -export function switchMap(this: Observable, project: (value: T, index: number) => ObservableInput): Observable { - return higherOrderSwitchMap(project)(this); -} diff --git a/compat/operator/switchMapTo.ts b/compat/operator/switchMapTo.ts deleted file mode 100644 index 9571c6a913..0000000000 --- a/compat/operator/switchMapTo.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { switchMapTo as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function switchMapTo(this: Observable, observable: ObservableInput): Observable; -export function switchMapTo(this: Observable, observable: ObservableInput, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R): Observable; -/* tslint:enable:max-line-length */ - -/** - * Projects each source value to the same Observable which is flattened multiple - * times with {@link switch} in the output Observable. - * - * It's like {@link switchMap}, but maps each value - * always to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then flattens those resulting Observables into one - * single Observable, which is the output Observable. The output Observables - * emits values only from the most recently emitted instance of - * `innerObservable`. - * - * @example Rerun an interval Observable on every click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.switchMapTo(Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMapTo} - * @see {@link switch} - * @see {@link switchMap} - * @see {@link mergeMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @return {Observable} An Observable that emits items from the given - * `innerObservable` (and optionally transformed through `resultSelector`) every - * time a value is emitted on the source Observable, and taking only the values - * from the most recently projected inner Observable. - * @method switchMapTo - * @owner Observable - */ -export function switchMapTo(this: Observable, innerObservable: ObservableInput): Observable { - return higherOrder(innerObservable)(this); -} diff --git a/compat/operator/take.ts b/compat/operator/take.ts deleted file mode 100644 index f85afd9037..0000000000 --- a/compat/operator/take.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Observable } from 'rxjs'; -import { take as higherOrder } from 'rxjs/operators'; - -/** - * Emits only the first `count` values emitted by the source Observable. - * - * Takes the first `count` values from the source, then - * completes. - * - * - * - * `take` returns an Observable that emits only the first `count` values emitted - * by the source Observable. If the source emits fewer than `count` values then - * all of its values are emitted. After that, it completes, regardless if the - * source completes. - * - * @example Take the first 5 seconds of an infinite 1-second interval Observable - * var interval = Rx.Observable.interval(1000); - * var five = interval.take(5); - * five.subscribe(x => console.log(x)); - * - * @see {@link takeLast} - * @see {@link takeUntil} - * @see {@link takeWhile} - * @see {@link skip} - * - * @throws {ArgumentOutOfRangeError} When using `take(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. - * - * @param {number} count The maximum number of `next` values to emit. - * @return {Observable} An Observable that emits only the first `count` - * values emitted by the source Observable, or all of the values from the source - * if the source emits fewer than `count` values. - * @method take - * @owner Observable - */ -export function take(this: Observable, count: number): Observable { - return higherOrder(count)(this) as Observable; -} diff --git a/compat/operator/takeLast.ts b/compat/operator/takeLast.ts deleted file mode 100644 index 12a397317e..0000000000 --- a/compat/operator/takeLast.ts +++ /dev/null @@ -1,43 +0,0 @@ - -import { Observable } from 'rxjs'; -import { takeLast as higherOrderTakeLast } from 'rxjs/operators'; - -/** - * Emits only the last `count` values emitted by the source Observable. - * - * Remembers the latest `count` values, then emits those - * only when the source completes. - * - * - * - * `takeLast` returns an Observable that emits at most the last `count` values - * emitted by the source Observable. If the source emits fewer than `count` - * values then all of its values are emitted. This operator must wait until the - * `complete` notification emission from the source in order to emit the `next` - * values on the output Observable, because otherwise it is impossible to know - * whether or not more values will be emitted on the source. For this reason, - * all values are emitted synchronously, followed by the complete notification. - * - * @example Take the last 3 values of an Observable with many values - * var many = Rx.Observable.range(1, 100); - * var lastThree = many.takeLast(3); - * lastThree.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeUntil} - * @see {@link takeWhile} - * @see {@link skip} - * - * @throws {ArgumentOutOfRangeError} When using `takeLast(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. - * - * @param {number} count The maximum number of values to emit from the end of - * the sequence of values emitted by the source Observable. - * @return {Observable} An Observable that emits at most the last count - * values emitted by the source Observable. - * @method takeLast - * @owner Observable - */ -export function takeLast(this: Observable, count: number): Observable { - return higherOrderTakeLast(count)(this) as Observable; -} diff --git a/compat/operator/takeUntil.ts b/compat/operator/takeUntil.ts deleted file mode 100644 index 2bbb79c3d5..0000000000 --- a/compat/operator/takeUntil.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Observable } from 'rxjs'; -import { takeUntil as higherOrder } from 'rxjs/operators'; - -/** - * Emits the values emitted by the source Observable until a `notifier` - * Observable emits a value. - * - * Lets values pass until a second Observable, - * `notifier`, emits a value. Then, it completes. - * - * - * - * `takeUntil` subscribes and begins mirroring the source Observable. It also - * monitors a second Observable, `notifier` that you provide. If the `notifier` - * emits a value, the output Observable stops mirroring the source Observable - * and completes. If the `notifier` doesn't emit any value and completes - * then `takeUntil` will pass all values. - * - * @example Tick every second until the first click happens - * var interval = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = interval.takeUntil(clicks); - * result.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeLast} - * @see {@link takeWhile} - * @see {@link skip} - * - * @param {Observable} notifier The Observable whose first emitted value will - * cause the output Observable of `takeUntil` to stop emitting values from the - * source Observable. - * @return {Observable} An Observable that emits the values from the source - * Observable until such time as `notifier` emits its first value. - * @method takeUntil - * @owner Observable - */ -export function takeUntil(this: Observable, notifier: Observable): Observable { - return higherOrder(notifier)(this) as Observable; -} diff --git a/compat/operator/takeWhile.ts b/compat/operator/takeWhile.ts deleted file mode 100644 index 118d45b54c..0000000000 --- a/compat/operator/takeWhile.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Observable } from 'rxjs'; -import { takeWhile as higherOrder } from 'rxjs/operators'; - -/** - * Emits values emitted by the source Observable so long as each value satisfies - * the given `predicate`, and then completes as soon as this `predicate` is not - * satisfied. - * - * Takes values from the source only while they pass the - * condition given. When the first value does not satisfy, it completes. - * - * - * - * `takeWhile` subscribes and begins mirroring the source Observable. Each value - * emitted on the source is given to the `predicate` function which returns a - * boolean, representing a condition to be satisfied by the source values. The - * output Observable emits the source values until such time as the `predicate` - * returns false, at which point `takeWhile` stops mirroring the source - * Observable and completes the output Observable. - * - * @example Emit click events only while the clientX property is greater than 200 - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.takeWhile(ev => ev.clientX > 200); - * result.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeLast} - * @see {@link takeUntil} - * @see {@link skip} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates a value emitted by the source Observable and returns a boolean. - * Also takes the (zero-based) index as the second argument. - * @return {Observable} An Observable that emits the values from the source - * Observable so long as each value satisfies the condition defined by the - * `predicate`, then completes. - * @method takeWhile - * @owner Observable - */ -export function takeWhile(this: Observable, predicate: (value: T, index: number) => boolean): Observable { - return higherOrder(predicate)(this); -} diff --git a/compat/operator/throttle.ts b/compat/operator/throttle.ts deleted file mode 100644 index 0a5041f102..0000000000 --- a/compat/operator/throttle.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Observable, SubscribableOrPromise } from 'rxjs'; -import { throttle as higherOrder } from 'rxjs/operators'; -import { ThrottleConfig, defaultThrottleConfig } from 'rxjs/internal-compatibility'; - -/** - * Emits a value from the source Observable, then ignores subsequent source - * values for a duration determined by another Observable, then repeats this - * process. - * - * It's like {@link throttleTime}, but the silencing - * duration is determined by a second Observable. - * - * - * - * `throttle` emits the source Observable values on the output Observable - * when its internal timer is disabled, and ignores source values when the timer - * is enabled. Initially, the timer is disabled. As soon as the first source - * value arrives, it is forwarded to the output Observable, and then the timer - * is enabled by calling the `durationSelector` function with the source value, - * which returns the "duration" Observable. When the duration Observable emits a - * value or completes, the timer is disabled, and this process repeats for the - * next source value. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.throttle(ev => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounce} - * @see {@link delayWhen} - * @see {@link sample} - * @see {@link throttleTime} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the silencing - * duration for each source value, returned as an Observable or a Promise. - * @param {Object} config a configuration object to define `leading` and `trailing` behavior. Defaults - * to `{ leading: true, trailing: false }`. - * @return {Observable} An Observable that performs the throttle operation to - * limit the rate of emissions from the source. - * @method throttle - * @owner Observable - */ -export function throttle(this: Observable, - durationSelector: (value: T) => SubscribableOrPromise, - config: ThrottleConfig = defaultThrottleConfig): Observable { - return higherOrder(durationSelector, config)(this); -} diff --git a/compat/operator/throttleTime.ts b/compat/operator/throttleTime.ts deleted file mode 100644 index 0996cb312b..0000000000 --- a/compat/operator/throttleTime.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { ThrottleConfig, defaultThrottleConfig } from 'rxjs/internal-compatibility'; -import { throttleTime as higherOrder } from 'rxjs/operators'; - -/** - * Emits a value from the source Observable, then ignores subsequent source - * values for `duration` milliseconds, then repeats this process. - * - * Lets a value pass, then ignores source values for the - * next `duration` milliseconds. - * - * - * - * `throttleTime` emits the source Observable values on the output Observable - * when its internal timer is disabled, and ignores source values when the timer - * is enabled. Initially, the timer is disabled. As soon as the first source - * value arrives, it is forwarded to the output Observable, and then the timer - * is enabled. After `duration` milliseconds (or the time unit determined - * internally by the optional `scheduler`) has passed, the timer is disabled, - * and this process repeats for the next source value. Optionally takes a - * {@link IScheduler} for managing timers. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.throttleTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttle} - * - * @param {number} duration Time to wait before emitting another value after - * emitting the last value, measured in milliseconds or the time unit determined - * internally by the optional `scheduler`. - * @param {Scheduler} [scheduler=asyncScheduler] The {@link SchedulerLike} to use for - * managing the timers that handle the throttling. - * @return {Observable} An Observable that performs the throttle operation to - * limit the rate of emissions from the source. - * @method throttleTime - * @owner Observable - */ -export function throttleTime(this: Observable, - duration: number, - scheduler: SchedulerLike = asyncScheduler, - config: ThrottleConfig = defaultThrottleConfig): Observable { - return higherOrder(duration, scheduler, config)(this) as Observable; -} diff --git a/compat/operator/timeInterval.ts b/compat/operator/timeInterval.ts deleted file mode 100644 index 5414a37a5d..0000000000 --- a/compat/operator/timeInterval.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { timeInterval as higherOrder } from 'rxjs/operators'; -import { TimeInterval } from 'rxjs/internal-compatibility'; - -/** - * @param scheduler - * @return {Observable>|WebSocketSubject|Observable} - * @method timeInterval - * @owner Observable - */ -export function timeInterval(this: Observable, scheduler: SchedulerLike = asyncScheduler): Observable> { - return higherOrder(scheduler)(this) as Observable>; -} diff --git a/compat/operator/timeout.ts b/compat/operator/timeout.ts deleted file mode 100644 index e7ec045fd4..0000000000 --- a/compat/operator/timeout.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { timeout as higherOrder } from 'rxjs/operators'; - -/** - * - * Errors if Observable does not emit a value in given time span. - * - * Timeouts on Observable that doesn't emit values fast enough. - * - * - * - * `timeout` operator accepts as an argument either a number or a Date. - * - * If number was provided, it returns an Observable that behaves like a source - * Observable, unless there is a period of time where there is no value emitted. - * So if you provide `100` as argument and first value comes after 50ms from - * the moment of subscription, this value will be simply re-emitted by the resulting - * Observable. If however after that 100ms passes without a second value being emitted, - * stream will end with an error and source Observable will be unsubscribed. - * These checks are performed throughout whole lifecycle of Observable - from the moment - * it was subscribed to, until it completes or errors itself. Thus every value must be - * emitted within specified period since previous value. - * - * If provided argument was Date, returned Observable behaves differently. It throws - * if Observable did not complete before provided Date. This means that periods between - * emission of particular values do not matter in this case. If Observable did not complete - * before provided Date, source Observable will be unsubscribed. Other than that, resulting - * stream behaves just as source Observable. - * - * `timeout` accepts also a Scheduler as a second parameter. It is used to schedule moment (or moments) - * when returned Observable will check if source stream emitted value or completed. - * - * @example Check if ticks are emitted within certain timespan - * const seconds = Rx.Observable.interval(1000); - * - * seconds.timeout(1100) // Let's use bigger timespan to be safe, - * // since `interval` might fire a bit later then scheduled. - * .subscribe( - * value => console.log(value), // Will emit numbers just as regular `interval` would. - * err => console.log(err) // Will never be called. - * ); - * - * seconds.timeout(900).subscribe( - * value => console.log(value), // Will never be called. - * err => console.log(err) // Will emit error before even first value is emitted, - * // since it did not arrive within 900ms period. - * ); - * - * @example Use Date to check if Observable completed - * const seconds = Rx.Observable.interval(1000); - * - * seconds.timeout(new Date("December 17, 2020 03:24:00")) - * .subscribe( - * value => console.log(value), // Will emit values as regular `interval` would - * // until December 17, 2020 at 03:24:00. - * err => console.log(err) // On December 17, 2020 at 03:24:00 it will emit an error, - * // since Observable did not complete by then. - * ); - * - * @see {@link timeoutWith} - * - * @param {number|Date} due Number specifying period within which Observable must emit values - * or Date specifying before when Observable should complete - * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. - * @return {Observable} Observable that mirrors behaviour of source, unless timeout checks fail. - * @method timeout - * @owner Observable - */ -export function timeout(this: Observable, - due: number | Date, - scheduler: SchedulerLike = asyncScheduler): Observable { - return higherOrder(due, scheduler)(this) as Observable; -} diff --git a/compat/operator/timeoutWith.ts b/compat/operator/timeoutWith.ts deleted file mode 100644 index 1cccf878b9..0000000000 --- a/compat/operator/timeoutWith.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { asyncScheduler, Observable, ObservableInput, SchedulerLike } from 'rxjs'; -import { timeoutWith as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function timeoutWith(this: Observable, due: number | Date, withObservable: ObservableInput, scheduler?: SchedulerLike): Observable; -export function timeoutWith(this: Observable, due: number | Date, withObservable: ObservableInput, scheduler?: SchedulerLike): Observable; -/* tslint:enable:max-line-length */ - -/** - * - * Errors if Observable does not emit a value in given time span, in case of which - * subscribes to the second Observable. - * - * It's a version of `timeout` operator that let's you specify fallback Observable. - * - * - * - * `timeoutWith` is a variation of `timeout` operator. It behaves exactly the same, - * still accepting as a first argument either a number or a Date, which control - respectively - - * when values of source Observable should be emitted or when it should complete. - * - * The only difference is that it accepts a second, required parameter. This parameter - * should be an Observable which will be subscribed when source Observable fails any timeout check. - * So whenever regular `timeout` would emit an error, `timeoutWith` will instead start re-emitting - * values from second Observable. Note that this fallback Observable is not checked for timeouts - * itself, so it can emit values and complete at arbitrary points in time. From the moment of a second - * subscription, Observable returned from `timeoutWith` simply mirrors fallback stream. When that - * stream completes, it completes as well. - * - * Scheduler, which in case of `timeout` is provided as as second argument, can be still provided - * here - as a third, optional parameter. It still is used to schedule timeout checks and - - * as a consequence - when second Observable will be subscribed, since subscription happens - * immediately after failing check. - * - * @example Add fallback observable - * const seconds = Rx.Observable.interval(1000); - * const minutes = Rx.Observable.interval(60 * 1000); - * - * seconds.timeoutWith(900, minutes) - * .subscribe( - * value => console.log(value), // After 900ms, will start emitting `minutes`, - * // since first value of `seconds` will not arrive fast enough. - * err => console.log(err) // Would be called after 900ms in case of `timeout`, - * // but here will never be called. - * ); - * - * @param {number|Date} due Number specifying period within which Observable must emit values - * or Date specifying before when Observable should complete - * @param {Observable} withObservable Observable which will be subscribed if source fails timeout check. - * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. - * @return {Observable} Observable that mirrors behaviour of source or, when timeout check fails, of an Observable - * passed as a second parameter. - * @method timeoutWith - * @owner Observable - */ -export function timeoutWith(this: Observable, due: number | Date, - withObservable: ObservableInput, - scheduler: SchedulerLike = asyncScheduler): Observable { - return higherOrder(due, withObservable, scheduler)(this as any); -} diff --git a/compat/operator/timestamp.ts b/compat/operator/timestamp.ts deleted file mode 100644 index 08ccd0fe00..0000000000 --- a/compat/operator/timestamp.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { timestamp as higherOrder} from 'rxjs/operators'; -import { Timestamp } from 'rxjs/internal-compatibility'; -/** - * @param scheduler - * @return {Observable>|WebSocketSubject|Observable} - * @method timestamp - * @owner Observable - */ -export function timestamp(this: Observable, scheduler: SchedulerLike = asyncScheduler): Observable> { - return higherOrder(scheduler)(this) as Observable>; -} diff --git a/compat/operator/toArray.ts b/compat/operator/toArray.ts deleted file mode 100644 index 0eb8948958..0000000000 --- a/compat/operator/toArray.ts +++ /dev/null @@ -1,30 +0,0 @@ - -import { Observable } from 'rxjs'; -import { toArray as higherOrder } from 'rxjs/operators'; - -/** - * Collects all source emissions and emits them as an array when the source completes. - * - * Get all values inside an array when the source completes - * - * - * - * `toArray` will wait until the source Observable completes - * before emitting the array containing all emissions. - * When the source Observable errors no array will be emitted. - * - * @example Create array from input - * const input = Rx.Observable.interval(100).take(4); - * - * input.toArray() - * .subscribe(arr => console.log(arr)); // [0,1,2,3] - * - * @see {@link buffer} - * - * @return {Observable|WebSocketSubject|Observable} - * @method toArray - * @owner Observable - */ -export function toArray(this: Observable): Observable { - return higherOrder()(this) as Observable; -} diff --git a/compat/operator/toPromise.ts b/compat/operator/toPromise.ts deleted file mode 100644 index f745212802..0000000000 --- a/compat/operator/toPromise.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from 'rxjs'; - -// HACK: this is here for backward compatability -// TODO(benlesh): remove this in v6. -export const toPromise: typeof Observable.prototype.toPromise = Observable.prototype.toPromise; diff --git a/compat/operator/window.ts b/compat/operator/window.ts deleted file mode 100644 index 6418efcadf..0000000000 --- a/compat/operator/window.ts +++ /dev/null @@ -1,43 +0,0 @@ - -import { Observable } from 'rxjs'; -import { window as higherOrder } from 'rxjs/operators'; - -/** - * Branch out the source Observable values as a nested Observable whenever - * `windowBoundaries` emits. - * - * It's like {@link buffer}, but emits a nested Observable - * instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits connected, non-overlapping - * windows. It emits the current window and opens a new one whenever the - * Observable `windowBoundaries` emits an item. Because each window is an - * Observable, the output is a higher-order Observable. - * - * @example In every window of 1 second each, emit at most 2 click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var interval = Rx.Observable.interval(1000); - * var result = clicks.window(interval) - * .map(win => win.take(2)) // each window has at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link windowWhen} - * @see {@link buffer} - * - * @param {Observable} windowBoundaries An Observable that completes the - * previous window and starts a new window. - * @return {Observable>} An Observable of windows, which are - * Observables emitting values of the source Observable. - * @method window - * @owner Observable - */ -export function window(this: Observable, windowBoundaries: Observable): Observable> { - return higherOrder(windowBoundaries)(this) as Observable>; -} diff --git a/compat/operator/windowCount.ts b/compat/operator/windowCount.ts deleted file mode 100644 index 0d313ef640..0000000000 --- a/compat/operator/windowCount.ts +++ /dev/null @@ -1,56 +0,0 @@ - -import { Observable } from 'rxjs'; -import { windowCount as higherOrder } from 'rxjs/operators'; - -/** - * Branch out the source Observable values as a nested Observable with each - * nested Observable emitting at most `windowSize` values. - * - * It's like {@link bufferCount}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits windows every `startWindowEvery` - * items, each containing no more than `windowSize` items. When the source - * Observable completes or encounters an error, the output Observable emits - * the current window and propagates the notification from the source - * Observable. If `startWindowEvery` is not provided, then new windows are - * started immediately at the start of the source and when each window completes - * with size `windowSize`. - * - * @example Ignore every 3rd click event, starting from the first one - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowCount(3) - * .map(win => win.skip(1)) // skip first of every 3 clicks - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @example Ignore every 3rd click event, starting from the third one - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowCount(2, 3) - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link windowWhen} - * @see {@link bufferCount} - * - * @param {number} windowSize The maximum number of values emitted by each - * window. - * @param {number} [startWindowEvery] Interval at which to start a new window. - * For example if `startWindowEvery` is `2`, then a new window will be started - * on every other value from the source. A new window is started at the - * beginning of the source by default. - * @return {Observable>} An Observable of windows, which in turn - * are Observable of values. - * @method windowCount - * @owner Observable - */ -export function windowCount(this: Observable, windowSize: number, - startWindowEvery: number = 0): Observable> { - return higherOrder(windowSize, startWindowEvery)(this) as Observable>; -} diff --git a/compat/operator/windowTime.ts b/compat/operator/windowTime.ts deleted file mode 100644 index d376fb4c03..0000000000 --- a/compat/operator/windowTime.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { asyncScheduler, Observable, SchedulerLike } from 'rxjs'; -import { isNumeric, isScheduler } from 'rxjs/internal-compatibility'; -import { windowTime as higherOrder } from 'rxjs/operators'; - -/** - * Branch out the source Observable values as a nested Observable periodically - * in time. - * - * It's like {@link bufferTime}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable starts a new window periodically, as - * determined by the `windowCreationInterval` argument. It emits each window - * after a fixed timespan, specified by the `windowTimeSpan` argument. When the - * source Observable completes or encounters an error, the output Observable - * emits the current window and propagates the notification from the source - * Observable. If `windowCreationInterval` is not provided, the output - * Observable starts a new window when the previous window of duration - * `windowTimeSpan` completes. If `maxWindowCount` is provided, each window - * will emit at most fixed number of values. Window will complete immediately - * after emitting last value and next one still will open as specified by - * `windowTimeSpan` and `windowCreationInterval` arguments. - * - * @example In every window of 1 second each, emit at most 2 click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowTime(1000) - * .map(win => win.take(2)) // each window has at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @example Every 5 seconds start a window 1 second long, and emit at most 2 click events per window - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowTime(1000, 5000) - * .map(win => win.take(2)) // each window has at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @example Same as example above but with maxWindowCount instead of take - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowTime(1000, 5000, 2) // each window has still at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - - * @see {@link window} - * @see {@link windowCount} - * @see {@link windowToggle} - * @see {@link windowWhen} - * @see {@link bufferTime} - * - * @param {number} windowTimeSpan The amount of time to fill each window. - * @param {number} [windowCreationInterval] The interval at which to start new - * windows. - * @param {number} [maxWindowSize=Number.POSITIVE_INFINITY] Max number of - * values each window can emit before completion. - * @param {Scheduler} [scheduler=async] The scheduler on which to schedule the - * intervals that determine window boundaries. - * @return {Observable>} An observable of windows, which in turn - * are Observables. - * @method windowTime - * @owner Observable - */ -export function windowTime(this: Observable, windowTimeSpan: number, - scheduler?: SchedulerLike): Observable>; -export function windowTime(this: Observable, windowTimeSpan: number, - windowCreationInterval: number, - scheduler?: SchedulerLike): Observable>; -export function windowTime(this: Observable, windowTimeSpan: number, - windowCreationInterval: number, - maxWindowSize: number, - scheduler?: SchedulerLike): Observable>; - -export function windowTime(this: Observable, - windowTimeSpan: number): Observable> { - - let scheduler: SchedulerLike = asyncScheduler; - let windowCreationInterval: number = null; - let maxWindowSize: number = Number.POSITIVE_INFINITY; - - if (isScheduler(arguments[3])) { - scheduler = arguments[3]; - } - - if (isScheduler(arguments[2])) { - scheduler = arguments[2]; - } else if (isNumeric(arguments[2])) { - maxWindowSize = arguments[2]; - } - - if (isScheduler(arguments[1])) { - scheduler = arguments[1]; - } else if (isNumeric(arguments[1])) { - windowCreationInterval = arguments[1]; - } - - return higherOrder(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler)(this) as Observable>; -} diff --git a/compat/operator/windowToggle.ts b/compat/operator/windowToggle.ts deleted file mode 100644 index 68d6a0e4b3..0000000000 --- a/compat/operator/windowToggle.ts +++ /dev/null @@ -1,49 +0,0 @@ - -import { Observable } from 'rxjs'; -import { windowToggle as higherOrder } from 'rxjs/operators'; - -/** - * Branch out the source Observable values as a nested Observable starting from - * an emission from `openings` and ending when the output of `closingSelector` - * emits. - * - * It's like {@link bufferToggle}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits windows that contain those items - * emitted by the source Observable between the time when the `openings` - * Observable emits an item and when the Observable returned by - * `closingSelector` emits an item. - * - * @example Every other second, emit the click events from the next 500ms - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var openings = Rx.Observable.interval(1000); - * var result = clicks.windowToggle(openings, i => - * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() - * ).mergeAll(); - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowWhen} - * @see {@link bufferToggle} - * - * @param {Observable} openings An observable of notifications to start new - * windows. - * @param {function(value: O): Observable} closingSelector A function that takes - * the value emitted by the `openings` observable and returns an Observable, - * which, when it emits (either `next` or `complete`), signals that the - * associated window should complete. - * @return {Observable>} An observable of windows, which in turn - * are Observables. - * @method windowToggle - * @owner Observable - */ -export function windowToggle(this: Observable, openings: Observable, - closingSelector: (openValue: O) => Observable): Observable> { - return higherOrder(openings, closingSelector)(this) as Observable>; -} diff --git a/compat/operator/windowWhen.ts b/compat/operator/windowWhen.ts deleted file mode 100644 index 22ab75a2b7..0000000000 --- a/compat/operator/windowWhen.ts +++ /dev/null @@ -1,45 +0,0 @@ - -import { Observable } from 'rxjs'; -import { windowWhen as higherOrder } from 'rxjs/operators'; - -/** - * Branch out the source Observable values as a nested Observable using a - * factory function of closing Observables to determine when to start a new - * window. - * - * It's like {@link bufferWhen}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits connected, non-overlapping windows. - * It emits the current window and opens a new one whenever the Observable - * produced by the specified `closingSelector` function emits an item. The first - * window is opened immediately when subscribing to the output Observable. - * - * @example Emit only the first two clicks events in every window of [1-5] random seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks - * .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) - * .map(win => win.take(2)) // each window has at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link bufferWhen} - * - * @param {function(): Observable} closingSelector A function that takes no - * arguments and returns an Observable that signals (on either `next` or - * `complete`) when to close the previous window and start a new one. - * @return {Observable>} An observable of windows, which in turn - * are Observables. - * @method windowWhen - * @owner Observable - */ -export function windowWhen(this: Observable, closingSelector: () => Observable): Observable> { - return higherOrder(closingSelector)(this) as Observable>; -} diff --git a/compat/operator/withLatestFrom.ts b/compat/operator/withLatestFrom.ts deleted file mode 100644 index afb35226a2..0000000000 --- a/compat/operator/withLatestFrom.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { withLatestFrom as higherOrder } from 'rxjs/operators'; - -/* tslint:disable:max-line-length */ -export function withLatestFrom(this: Observable, project: (v1: T) => R): Observable; -export function withLatestFrom(this: Observable, v2: ObservableInput, project: (v1: T, v2: T2) => R): Observable; -export function withLatestFrom(this: Observable, v2: ObservableInput, v3: ObservableInput, project: (v1: T, v2: T2, v3: T3) => R): Observable; -export function withLatestFrom(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4) => R): Observable; -export function withLatestFrom(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R): Observable; -export function withLatestFrom(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R): Observable ; -export function withLatestFrom(this: Observable, v2: ObservableInput): Observable<[T, T2]>; -export function withLatestFrom(this: Observable, v2: ObservableInput, v3: ObservableInput): Observable<[T, T2, T3]>; -export function withLatestFrom(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput): Observable<[T, T2, T3, T4]>; -export function withLatestFrom(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput): Observable<[T, T2, T3, T4, T5]>; -export function withLatestFrom(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput): Observable<[T, T2, T3, T4, T5, T6]> ; -export function withLatestFrom(this: Observable, ...observables: Array | ((...values: Array) => R)>): Observable; -export function withLatestFrom(this: Observable, array: ObservableInput[]): Observable; -export function withLatestFrom(this: Observable, array: ObservableInput[], project: (...values: Array) => R): Observable; -/* tslint:enable:max-line-length */ - -/** - * Combines the source Observable with other Observables to create an Observable - * whose values are calculated from the latest values of each, only when the - * source emits. - * - * Whenever the source Observable emits a value, it - * computes a formula using that value plus the latest values from other input - * Observables, then emits the output of that formula. - * - * - * - * `withLatestFrom` combines each value from the source Observable (the - * instance) with the latest values from the other input Observables only when - * the source emits a value, optionally using a `project` function to determine - * the value to be emitted on the output Observable. All input Observables must - * emit at least one value before the output Observable will emit a value. - * - * @example On every click event, emit an array with the latest timer event plus the click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var timer = Rx.Observable.interval(1000); - * var result = clicks.withLatestFrom(timer); - * result.subscribe(x => console.log(x)); - * - * @see {@link combineLatest} - * - * @param {ObservableInput} other An input Observable to combine with the source - * Observable. More than one input Observables may be given as argument. - * @param {Function} [project] Projection function for combining values - * together. Receives all values in order of the Observables passed, where the - * first parameter is a value from the source Observable. (e.g. - * `a.withLatestFrom(b, c, (a1, b1, c1) => a1 + b1 + c1)`). If this is not - * passed, arrays will be emitted on the output Observable. - * @return {Observable} An Observable of projected values from the most recent - * values from each input Observable, or an array of the most recent values from - * each input Observable. - * @method withLatestFrom - * @owner Observable - */ -export function withLatestFrom(this: Observable, ...args: Array | ((...values: Array) => R)>): Observable { - return higherOrder(...args)(this); -} diff --git a/compat/operator/zip.ts b/compat/operator/zip.ts deleted file mode 100644 index 57b2d2cb3e..0000000000 --- a/compat/operator/zip.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { zip as zipStatic, Observable, ObservableInput } from 'rxjs'; - -/* tslint:disable:max-line-length */ -export function zipProto(this: Observable, project: (v1: T) => R): Observable; -export function zipProto(this: Observable, v2: ObservableInput, project: (v1: T, v2: T2) => R): Observable; -export function zipProto(this: Observable, v2: ObservableInput, v3: ObservableInput, project: (v1: T, v2: T2, v3: T3) => R): Observable; -export function zipProto(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4) => R): Observable; -export function zipProto(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R): Observable; -export function zipProto(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R): Observable ; -export function zipProto(this: Observable, v2: ObservableInput): Observable<[T, T2]>; -export function zipProto(this: Observable, v2: ObservableInput, v3: ObservableInput): Observable<[T, T2, T3]>; -export function zipProto(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput): Observable<[T, T2, T3, T4]>; -export function zipProto(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput): Observable<[T, T2, T3, T4, T5]>; -export function zipProto(this: Observable, v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput): Observable<[T, T2, T3, T4, T5, T6]> ; -export function zipProto(this: Observable, ...observables: Array>): Observable; -export function zipProto(this: Observable, ...observables: Array | ((...values: Array) => R)>): Observable; -export function zipProto(this: Observable, array: Array>): Observable; -export function zipProto(this: Observable, array: Array>, project: (v1: T, ...values: Array) => R): Observable; -/* tslint:enable:max-line-length */ - -/** - * @param observables - * @return {Observable} - * @method zip - * @owner Observable - */ -export function zipProto(this: Observable, ...observables: Array | ((...values: Array) => R)>): Observable { - return this.lift.call(zipStatic(this, ...observables)); -} diff --git a/compat/operator/zipAll.ts b/compat/operator/zipAll.ts deleted file mode 100644 index 2e99e10f38..0000000000 --- a/compat/operator/zipAll.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Observable, ObservableInput } from 'rxjs'; -import { zipAll as higherOrder } from 'rxjs/operators'; - -export function zipAll(this: Observable>): Observable; -export function zipAll(this: Observable): Observable; -export function zipAll(this: Observable>, project: (...values: T[]) => R): Observable; -export function zipAll(this: Observable, project: (...values: T[]) => R): Observable; -export function zipAll(this: Observable, project: (...values: any[]) => R): Observable; -/** - * @param project - * @return {Observable|WebSocketSubject|Observable} - * @method zipAll - * @owner Observable - */ -export function zipAll(this: Observable>, project?: (...values: Array) => R): Observable { - return higherOrder(project)(this); -} diff --git a/compat/operators/audit.ts b/compat/operators/audit.ts deleted file mode 100644 index 7abb90bb25..0000000000 --- a/compat/operators/audit.ts +++ /dev/null @@ -1 +0,0 @@ -export { audit } from 'rxjs/operators'; diff --git a/compat/operators/auditTime.ts b/compat/operators/auditTime.ts deleted file mode 100644 index 78a10a7af4..0000000000 --- a/compat/operators/auditTime.ts +++ /dev/null @@ -1 +0,0 @@ -export { auditTime } from 'rxjs/operators'; diff --git a/compat/operators/buffer.ts b/compat/operators/buffer.ts deleted file mode 100644 index de67cdebeb..0000000000 --- a/compat/operators/buffer.ts +++ /dev/null @@ -1 +0,0 @@ -export { buffer } from 'rxjs/operators'; diff --git a/compat/operators/bufferCount.ts b/compat/operators/bufferCount.ts deleted file mode 100644 index 190aa7f21f..0000000000 --- a/compat/operators/bufferCount.ts +++ /dev/null @@ -1 +0,0 @@ -export { bufferCount } from 'rxjs/operators'; diff --git a/compat/operators/bufferTime.ts b/compat/operators/bufferTime.ts deleted file mode 100644 index bd075a61db..0000000000 --- a/compat/operators/bufferTime.ts +++ /dev/null @@ -1 +0,0 @@ -export { bufferTime } from 'rxjs/operators'; diff --git a/compat/operators/bufferToggle.ts b/compat/operators/bufferToggle.ts deleted file mode 100644 index a40add90cf..0000000000 --- a/compat/operators/bufferToggle.ts +++ /dev/null @@ -1 +0,0 @@ -export { bufferToggle } from 'rxjs/operators'; diff --git a/compat/operators/bufferWhen.ts b/compat/operators/bufferWhen.ts deleted file mode 100644 index 03a2fb7bba..0000000000 --- a/compat/operators/bufferWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export { bufferWhen } from 'rxjs/operators'; diff --git a/compat/operators/catchError.ts b/compat/operators/catchError.ts deleted file mode 100644 index 7e16ee9e4c..0000000000 --- a/compat/operators/catchError.ts +++ /dev/null @@ -1 +0,0 @@ -export { catchError } from 'rxjs/operators'; diff --git a/compat/operators/combineAll.ts b/compat/operators/combineAll.ts deleted file mode 100644 index d1072c6f3a..0000000000 --- a/compat/operators/combineAll.ts +++ /dev/null @@ -1 +0,0 @@ -export { combineAll } from 'rxjs/operators'; diff --git a/compat/operators/combineLatest.ts b/compat/operators/combineLatest.ts deleted file mode 100644 index 7d2ade6f87..0000000000 --- a/compat/operators/combineLatest.ts +++ /dev/null @@ -1 +0,0 @@ -export { combineLatest } from 'rxjs/operators'; diff --git a/compat/operators/concat.ts b/compat/operators/concat.ts deleted file mode 100644 index 5205863570..0000000000 --- a/compat/operators/concat.ts +++ /dev/null @@ -1 +0,0 @@ -export { concat } from 'rxjs/operators'; diff --git a/compat/operators/concatAll.ts b/compat/operators/concatAll.ts deleted file mode 100644 index 6206015ecb..0000000000 --- a/compat/operators/concatAll.ts +++ /dev/null @@ -1 +0,0 @@ -export { concatAll } from 'rxjs/operators'; diff --git a/compat/operators/concatMap.ts b/compat/operators/concatMap.ts deleted file mode 100644 index db74df7722..0000000000 --- a/compat/operators/concatMap.ts +++ /dev/null @@ -1 +0,0 @@ -export { concatMap } from 'rxjs/operators'; diff --git a/compat/operators/concatMapTo.ts b/compat/operators/concatMapTo.ts deleted file mode 100644 index c5e8d7042e..0000000000 --- a/compat/operators/concatMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export { concatMapTo } from 'rxjs/operators'; diff --git a/compat/operators/count.ts b/compat/operators/count.ts deleted file mode 100644 index 7812fe622e..0000000000 --- a/compat/operators/count.ts +++ /dev/null @@ -1 +0,0 @@ -export { count } from 'rxjs/operators'; diff --git a/compat/operators/debounce.ts b/compat/operators/debounce.ts deleted file mode 100644 index d887d2b210..0000000000 --- a/compat/operators/debounce.ts +++ /dev/null @@ -1 +0,0 @@ -export { debounce } from 'rxjs/operators'; diff --git a/compat/operators/debounceTime.ts b/compat/operators/debounceTime.ts deleted file mode 100644 index c0eb6c244c..0000000000 --- a/compat/operators/debounceTime.ts +++ /dev/null @@ -1 +0,0 @@ -export { debounceTime } from 'rxjs/operators'; diff --git a/compat/operators/defaultIfEmpty.ts b/compat/operators/defaultIfEmpty.ts deleted file mode 100644 index 059d0786e1..0000000000 --- a/compat/operators/defaultIfEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -export { defaultIfEmpty } from 'rxjs/operators'; diff --git a/compat/operators/delay.ts b/compat/operators/delay.ts deleted file mode 100644 index 81cdbba946..0000000000 --- a/compat/operators/delay.ts +++ /dev/null @@ -1 +0,0 @@ -export { delay } from 'rxjs/operators'; diff --git a/compat/operators/delayWhen.ts b/compat/operators/delayWhen.ts deleted file mode 100644 index 1641efce75..0000000000 --- a/compat/operators/delayWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export { delayWhen } from 'rxjs/operators'; diff --git a/compat/operators/dematerialize.ts b/compat/operators/dematerialize.ts deleted file mode 100644 index 367cfa9703..0000000000 --- a/compat/operators/dematerialize.ts +++ /dev/null @@ -1 +0,0 @@ -export { dematerialize } from 'rxjs/operators'; diff --git a/compat/operators/distinct.ts b/compat/operators/distinct.ts deleted file mode 100644 index 88d5471f19..0000000000 --- a/compat/operators/distinct.ts +++ /dev/null @@ -1 +0,0 @@ -export { distinct } from 'rxjs/operators'; diff --git a/compat/operators/distinctUntilChanged.ts b/compat/operators/distinctUntilChanged.ts deleted file mode 100644 index 1642098136..0000000000 --- a/compat/operators/distinctUntilChanged.ts +++ /dev/null @@ -1 +0,0 @@ -export { distinctUntilChanged } from 'rxjs/operators'; diff --git a/compat/operators/distinctUntilKeyChanged.ts b/compat/operators/distinctUntilKeyChanged.ts deleted file mode 100644 index 72a6dcd284..0000000000 --- a/compat/operators/distinctUntilKeyChanged.ts +++ /dev/null @@ -1 +0,0 @@ -export { distinctUntilKeyChanged } from 'rxjs/operators'; diff --git a/compat/operators/elementAt.ts b/compat/operators/elementAt.ts deleted file mode 100644 index 2cabdb1991..0000000000 --- a/compat/operators/elementAt.ts +++ /dev/null @@ -1 +0,0 @@ -export { elementAt } from 'rxjs/operators'; diff --git a/compat/operators/every.ts b/compat/operators/every.ts deleted file mode 100644 index 444dcd7e3f..0000000000 --- a/compat/operators/every.ts +++ /dev/null @@ -1 +0,0 @@ -export { every } from 'rxjs/operators'; diff --git a/compat/operators/exhaust.ts b/compat/operators/exhaust.ts deleted file mode 100644 index c3b0ee894d..0000000000 --- a/compat/operators/exhaust.ts +++ /dev/null @@ -1 +0,0 @@ -export { exhaust } from 'rxjs/operators'; diff --git a/compat/operators/exhaustMap.ts b/compat/operators/exhaustMap.ts deleted file mode 100644 index bd53120eb7..0000000000 --- a/compat/operators/exhaustMap.ts +++ /dev/null @@ -1 +0,0 @@ -export { exhaustMap } from 'rxjs/operators'; diff --git a/compat/operators/expand.ts b/compat/operators/expand.ts deleted file mode 100644 index b1db5c52f8..0000000000 --- a/compat/operators/expand.ts +++ /dev/null @@ -1 +0,0 @@ -export { expand } from 'rxjs/operators'; diff --git a/compat/operators/filter.ts b/compat/operators/filter.ts deleted file mode 100644 index c7b48e9735..0000000000 --- a/compat/operators/filter.ts +++ /dev/null @@ -1 +0,0 @@ -export { filter } from 'rxjs/operators'; diff --git a/compat/operators/finalize.ts b/compat/operators/finalize.ts deleted file mode 100644 index 01edcc7378..0000000000 --- a/compat/operators/finalize.ts +++ /dev/null @@ -1 +0,0 @@ -export { finalize } from 'rxjs/operators'; diff --git a/compat/operators/find.ts b/compat/operators/find.ts deleted file mode 100644 index 1d5ad45adf..0000000000 --- a/compat/operators/find.ts +++ /dev/null @@ -1 +0,0 @@ -export { find } from 'rxjs/operators'; diff --git a/compat/operators/findIndex.ts b/compat/operators/findIndex.ts deleted file mode 100644 index ca010da223..0000000000 --- a/compat/operators/findIndex.ts +++ /dev/null @@ -1 +0,0 @@ -export { findIndex } from 'rxjs/operators'; diff --git a/compat/operators/first.ts b/compat/operators/first.ts deleted file mode 100644 index 324ad42221..0000000000 --- a/compat/operators/first.ts +++ /dev/null @@ -1 +0,0 @@ -export { first } from 'rxjs/operators'; diff --git a/compat/operators/groupBy.ts b/compat/operators/groupBy.ts deleted file mode 100644 index a577a9e84d..0000000000 --- a/compat/operators/groupBy.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { groupBy } from 'rxjs/operators'; -export { GroupedObservable } from 'rxjs/internal-compatibility'; diff --git a/compat/operators/ignoreElements.ts b/compat/operators/ignoreElements.ts deleted file mode 100644 index db1ecd63ef..0000000000 --- a/compat/operators/ignoreElements.ts +++ /dev/null @@ -1 +0,0 @@ -export { ignoreElements } from 'rxjs/operators'; diff --git a/compat/operators/isEmpty.ts b/compat/operators/isEmpty.ts deleted file mode 100644 index fc632aed8f..0000000000 --- a/compat/operators/isEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -export { isEmpty } from 'rxjs/operators'; diff --git a/compat/operators/last.ts b/compat/operators/last.ts deleted file mode 100644 index 9c506613db..0000000000 --- a/compat/operators/last.ts +++ /dev/null @@ -1 +0,0 @@ -export { last } from 'rxjs/operators'; diff --git a/compat/operators/map.ts b/compat/operators/map.ts deleted file mode 100644 index ea79f28aac..0000000000 --- a/compat/operators/map.ts +++ /dev/null @@ -1 +0,0 @@ -export { map } from 'rxjs/operators'; diff --git a/compat/operators/mapTo.ts b/compat/operators/mapTo.ts deleted file mode 100644 index 0f3b36096d..0000000000 --- a/compat/operators/mapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export { mapTo } from 'rxjs/operators'; diff --git a/compat/operators/materialize.ts b/compat/operators/materialize.ts deleted file mode 100644 index f7d0b931f1..0000000000 --- a/compat/operators/materialize.ts +++ /dev/null @@ -1 +0,0 @@ -export { materialize } from 'rxjs/operators'; diff --git a/compat/operators/max.ts b/compat/operators/max.ts deleted file mode 100644 index fc3eca301f..0000000000 --- a/compat/operators/max.ts +++ /dev/null @@ -1 +0,0 @@ -export { max } from 'rxjs/operators'; diff --git a/compat/operators/merge.ts b/compat/operators/merge.ts deleted file mode 100644 index cee35c63ba..0000000000 --- a/compat/operators/merge.ts +++ /dev/null @@ -1 +0,0 @@ -export { merge } from 'rxjs/operators'; diff --git a/compat/operators/mergeAll.ts b/compat/operators/mergeAll.ts deleted file mode 100644 index d27ee1ac38..0000000000 --- a/compat/operators/mergeAll.ts +++ /dev/null @@ -1 +0,0 @@ -export { mergeAll } from 'rxjs/operators'; diff --git a/compat/operators/mergeMap.ts b/compat/operators/mergeMap.ts deleted file mode 100644 index d089bc9d05..0000000000 --- a/compat/operators/mergeMap.ts +++ /dev/null @@ -1 +0,0 @@ -export { mergeMap } from 'rxjs/operators'; diff --git a/compat/operators/mergeMapTo.ts b/compat/operators/mergeMapTo.ts deleted file mode 100644 index 8326f74b05..0000000000 --- a/compat/operators/mergeMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export { mergeMapTo } from 'rxjs/operators'; diff --git a/compat/operators/mergeScan.ts b/compat/operators/mergeScan.ts deleted file mode 100644 index 375c4319bd..0000000000 --- a/compat/operators/mergeScan.ts +++ /dev/null @@ -1 +0,0 @@ -export { mergeScan } from 'rxjs/operators'; diff --git a/compat/operators/min.ts b/compat/operators/min.ts deleted file mode 100644 index 6104962bce..0000000000 --- a/compat/operators/min.ts +++ /dev/null @@ -1 +0,0 @@ -export { min } from 'rxjs/operators'; diff --git a/compat/operators/multicast.ts b/compat/operators/multicast.ts deleted file mode 100644 index 1768e809d0..0000000000 --- a/compat/operators/multicast.ts +++ /dev/null @@ -1 +0,0 @@ -export { multicast } from 'rxjs/operators'; diff --git a/compat/operators/observeOn.ts b/compat/operators/observeOn.ts deleted file mode 100644 index 1261152de9..0000000000 --- a/compat/operators/observeOn.ts +++ /dev/null @@ -1 +0,0 @@ -export { observeOn } from 'rxjs/operators'; diff --git a/compat/operators/onErrorResumeNext.ts b/compat/operators/onErrorResumeNext.ts deleted file mode 100644 index 3232fe895f..0000000000 --- a/compat/operators/onErrorResumeNext.ts +++ /dev/null @@ -1 +0,0 @@ -export { onErrorResumeNext } from 'rxjs/operators'; diff --git a/compat/operators/pairwise.ts b/compat/operators/pairwise.ts deleted file mode 100644 index 311fc07903..0000000000 --- a/compat/operators/pairwise.ts +++ /dev/null @@ -1 +0,0 @@ -export { pairwise } from 'rxjs/operators'; diff --git a/compat/operators/partition.ts b/compat/operators/partition.ts deleted file mode 100644 index 2494573329..0000000000 --- a/compat/operators/partition.ts +++ /dev/null @@ -1 +0,0 @@ -export { partition } from 'rxjs/operators'; diff --git a/compat/operators/pluck.ts b/compat/operators/pluck.ts deleted file mode 100644 index 70b8ecc029..0000000000 --- a/compat/operators/pluck.ts +++ /dev/null @@ -1 +0,0 @@ -export { pluck } from 'rxjs/operators'; diff --git a/compat/operators/publish.ts b/compat/operators/publish.ts deleted file mode 100644 index b680f09095..0000000000 --- a/compat/operators/publish.ts +++ /dev/null @@ -1 +0,0 @@ -export { publish } from 'rxjs/operators'; diff --git a/compat/operators/publishBehavior.ts b/compat/operators/publishBehavior.ts deleted file mode 100644 index 7c8395f49d..0000000000 --- a/compat/operators/publishBehavior.ts +++ /dev/null @@ -1 +0,0 @@ -export { publishBehavior } from 'rxjs/operators'; diff --git a/compat/operators/publishLast.ts b/compat/operators/publishLast.ts deleted file mode 100644 index cf8ef46f02..0000000000 --- a/compat/operators/publishLast.ts +++ /dev/null @@ -1 +0,0 @@ -export { publishLast } from 'rxjs/operators'; diff --git a/compat/operators/publishReplay.ts b/compat/operators/publishReplay.ts deleted file mode 100644 index ee14a07cfc..0000000000 --- a/compat/operators/publishReplay.ts +++ /dev/null @@ -1 +0,0 @@ -export { publishReplay } from 'rxjs/operators'; diff --git a/compat/operators/race.ts b/compat/operators/race.ts deleted file mode 100644 index 6ed8b42822..0000000000 --- a/compat/operators/race.ts +++ /dev/null @@ -1 +0,0 @@ -export { race } from 'rxjs/operators'; diff --git a/compat/operators/reduce.ts b/compat/operators/reduce.ts deleted file mode 100644 index b96a6f987c..0000000000 --- a/compat/operators/reduce.ts +++ /dev/null @@ -1 +0,0 @@ -export { reduce } from 'rxjs/operators'; diff --git a/compat/operators/refCount.ts b/compat/operators/refCount.ts deleted file mode 100644 index dc75036ab4..0000000000 --- a/compat/operators/refCount.ts +++ /dev/null @@ -1 +0,0 @@ -export { refCount } from 'rxjs/operators'; diff --git a/compat/operators/repeat.ts b/compat/operators/repeat.ts deleted file mode 100644 index 8308e16d4d..0000000000 --- a/compat/operators/repeat.ts +++ /dev/null @@ -1 +0,0 @@ -export { repeat } from 'rxjs/operators'; diff --git a/compat/operators/repeatWhen.ts b/compat/operators/repeatWhen.ts deleted file mode 100644 index fb2faeccef..0000000000 --- a/compat/operators/repeatWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export { repeatWhen } from 'rxjs/operators'; diff --git a/compat/operators/retry.ts b/compat/operators/retry.ts deleted file mode 100644 index 3bff4c5647..0000000000 --- a/compat/operators/retry.ts +++ /dev/null @@ -1 +0,0 @@ -export { retry } from 'rxjs/operators'; diff --git a/compat/operators/retryWhen.ts b/compat/operators/retryWhen.ts deleted file mode 100644 index 087475fc1e..0000000000 --- a/compat/operators/retryWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export { retryWhen } from 'rxjs/operators'; diff --git a/compat/operators/sample.ts b/compat/operators/sample.ts deleted file mode 100644 index a0f1bfeb28..0000000000 --- a/compat/operators/sample.ts +++ /dev/null @@ -1 +0,0 @@ -export { sample } from 'rxjs/operators'; diff --git a/compat/operators/sampleTime.ts b/compat/operators/sampleTime.ts deleted file mode 100644 index be83fd2a2b..0000000000 --- a/compat/operators/sampleTime.ts +++ /dev/null @@ -1 +0,0 @@ -export { sampleTime } from 'rxjs/operators'; diff --git a/compat/operators/scan.ts b/compat/operators/scan.ts deleted file mode 100644 index 047e81fc82..0000000000 --- a/compat/operators/scan.ts +++ /dev/null @@ -1 +0,0 @@ -export { scan } from 'rxjs/operators'; diff --git a/compat/operators/sequenceEqual.ts b/compat/operators/sequenceEqual.ts deleted file mode 100644 index 3f5b87a1c1..0000000000 --- a/compat/operators/sequenceEqual.ts +++ /dev/null @@ -1 +0,0 @@ -export { sequenceEqual } from 'rxjs/operators'; diff --git a/compat/operators/share.ts b/compat/operators/share.ts deleted file mode 100644 index 75171fb016..0000000000 --- a/compat/operators/share.ts +++ /dev/null @@ -1 +0,0 @@ -export { share } from 'rxjs/operators'; diff --git a/compat/operators/shareReplay.ts b/compat/operators/shareReplay.ts deleted file mode 100644 index 68c3089239..0000000000 --- a/compat/operators/shareReplay.ts +++ /dev/null @@ -1 +0,0 @@ -export { shareReplay } from 'rxjs/operators'; diff --git a/compat/operators/single.ts b/compat/operators/single.ts deleted file mode 100644 index 363468dfb8..0000000000 --- a/compat/operators/single.ts +++ /dev/null @@ -1 +0,0 @@ -export { single } from 'rxjs/operators'; diff --git a/compat/operators/skip.ts b/compat/operators/skip.ts deleted file mode 100644 index ff1176d7c5..0000000000 --- a/compat/operators/skip.ts +++ /dev/null @@ -1 +0,0 @@ -export { skip } from 'rxjs/operators'; diff --git a/compat/operators/skipLast.ts b/compat/operators/skipLast.ts deleted file mode 100644 index a1d15d90d9..0000000000 --- a/compat/operators/skipLast.ts +++ /dev/null @@ -1 +0,0 @@ -export { skipLast } from 'rxjs/operators'; diff --git a/compat/operators/skipUntil.ts b/compat/operators/skipUntil.ts deleted file mode 100644 index e7ad35f69e..0000000000 --- a/compat/operators/skipUntil.ts +++ /dev/null @@ -1 +0,0 @@ -export { skipUntil } from 'rxjs/operators'; diff --git a/compat/operators/skipWhile.ts b/compat/operators/skipWhile.ts deleted file mode 100644 index 97cb68bf8e..0000000000 --- a/compat/operators/skipWhile.ts +++ /dev/null @@ -1 +0,0 @@ -export { skipWhile } from 'rxjs/operators'; diff --git a/compat/operators/startWith.ts b/compat/operators/startWith.ts deleted file mode 100644 index f6a62bf776..0000000000 --- a/compat/operators/startWith.ts +++ /dev/null @@ -1 +0,0 @@ -export { startWith } from 'rxjs/operators'; diff --git a/compat/operators/subscribeOn.ts b/compat/operators/subscribeOn.ts deleted file mode 100644 index f911d9ec00..0000000000 --- a/compat/operators/subscribeOn.ts +++ /dev/null @@ -1 +0,0 @@ -export { subscribeOn } from 'rxjs/operators'; diff --git a/compat/operators/switchAll.ts b/compat/operators/switchAll.ts deleted file mode 100644 index c8db61e1ac..0000000000 --- a/compat/operators/switchAll.ts +++ /dev/null @@ -1 +0,0 @@ -export { switchAll } from 'rxjs/operators'; diff --git a/compat/operators/switchMap.ts b/compat/operators/switchMap.ts deleted file mode 100644 index 4c7b479afa..0000000000 --- a/compat/operators/switchMap.ts +++ /dev/null @@ -1 +0,0 @@ -export { switchMap } from 'rxjs/operators'; diff --git a/compat/operators/switchMapTo.ts b/compat/operators/switchMapTo.ts deleted file mode 100644 index 0e21e60790..0000000000 --- a/compat/operators/switchMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export { switchMapTo } from 'rxjs/operators'; diff --git a/compat/operators/take.ts b/compat/operators/take.ts deleted file mode 100644 index 6e391e5ac0..0000000000 --- a/compat/operators/take.ts +++ /dev/null @@ -1 +0,0 @@ -export { take } from 'rxjs/operators'; diff --git a/compat/operators/takeLast.ts b/compat/operators/takeLast.ts deleted file mode 100644 index 4736fb1130..0000000000 --- a/compat/operators/takeLast.ts +++ /dev/null @@ -1 +0,0 @@ -export { takeLast } from 'rxjs/operators'; diff --git a/compat/operators/takeUntil.ts b/compat/operators/takeUntil.ts deleted file mode 100644 index 3a66c0cb43..0000000000 --- a/compat/operators/takeUntil.ts +++ /dev/null @@ -1 +0,0 @@ -export { takeUntil } from 'rxjs/operators'; diff --git a/compat/operators/takeWhile.ts b/compat/operators/takeWhile.ts deleted file mode 100644 index 46d1e04185..0000000000 --- a/compat/operators/takeWhile.ts +++ /dev/null @@ -1 +0,0 @@ -export { takeWhile } from 'rxjs/operators'; diff --git a/compat/operators/tap.ts b/compat/operators/tap.ts deleted file mode 100644 index 132c4e59c7..0000000000 --- a/compat/operators/tap.ts +++ /dev/null @@ -1 +0,0 @@ -export { tap } from 'rxjs/operators'; diff --git a/compat/operators/throttle.ts b/compat/operators/throttle.ts deleted file mode 100644 index 960fccf538..0000000000 --- a/compat/operators/throttle.ts +++ /dev/null @@ -1 +0,0 @@ -export { throttle } from 'rxjs/operators'; diff --git a/compat/operators/throttleTime.ts b/compat/operators/throttleTime.ts deleted file mode 100644 index b9d9ff256b..0000000000 --- a/compat/operators/throttleTime.ts +++ /dev/null @@ -1 +0,0 @@ -export { throttleTime } from 'rxjs/operators'; diff --git a/compat/operators/throwIfEmpty.ts b/compat/operators/throwIfEmpty.ts deleted file mode 100644 index d6148e7d5e..0000000000 --- a/compat/operators/throwIfEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -export { throwIfEmpty } from 'rxjs/operators'; diff --git a/compat/operators/timeInterval.ts b/compat/operators/timeInterval.ts deleted file mode 100644 index 88fb76a196..0000000000 --- a/compat/operators/timeInterval.ts +++ /dev/null @@ -1 +0,0 @@ -export { timeInterval } from 'rxjs/operators'; diff --git a/compat/operators/timeout.ts b/compat/operators/timeout.ts deleted file mode 100644 index afaa955b9f..0000000000 --- a/compat/operators/timeout.ts +++ /dev/null @@ -1 +0,0 @@ -export { timeout } from 'rxjs/operators'; diff --git a/compat/operators/timeoutWith.ts b/compat/operators/timeoutWith.ts deleted file mode 100644 index d98752d302..0000000000 --- a/compat/operators/timeoutWith.ts +++ /dev/null @@ -1 +0,0 @@ -export { timeoutWith } from 'rxjs/operators'; diff --git a/compat/operators/timestamp.ts b/compat/operators/timestamp.ts deleted file mode 100644 index bb78343ad5..0000000000 --- a/compat/operators/timestamp.ts +++ /dev/null @@ -1 +0,0 @@ -export { timestamp } from 'rxjs/operators'; diff --git a/compat/operators/toArray.ts b/compat/operators/toArray.ts deleted file mode 100644 index 03be7fc508..0000000000 --- a/compat/operators/toArray.ts +++ /dev/null @@ -1 +0,0 @@ -export { toArray } from 'rxjs/operators'; diff --git a/compat/operators/window.ts b/compat/operators/window.ts deleted file mode 100644 index bb4f21cd2c..0000000000 --- a/compat/operators/window.ts +++ /dev/null @@ -1 +0,0 @@ -export { window } from 'rxjs/operators'; diff --git a/compat/operators/windowCount.ts b/compat/operators/windowCount.ts deleted file mode 100644 index 10d56b289e..0000000000 --- a/compat/operators/windowCount.ts +++ /dev/null @@ -1 +0,0 @@ -export { windowCount } from 'rxjs/operators'; diff --git a/compat/operators/windowTime.ts b/compat/operators/windowTime.ts deleted file mode 100644 index c893ff0cc9..0000000000 --- a/compat/operators/windowTime.ts +++ /dev/null @@ -1 +0,0 @@ -export { windowTime } from 'rxjs/operators'; diff --git a/compat/operators/windowToggle.ts b/compat/operators/windowToggle.ts deleted file mode 100644 index 8d82d7351d..0000000000 --- a/compat/operators/windowToggle.ts +++ /dev/null @@ -1 +0,0 @@ -export { windowToggle } from 'rxjs/operators'; diff --git a/compat/operators/windowWhen.ts b/compat/operators/windowWhen.ts deleted file mode 100644 index beddc586a1..0000000000 --- a/compat/operators/windowWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export { windowWhen } from 'rxjs/operators'; diff --git a/compat/operators/withLatestFrom.ts b/compat/operators/withLatestFrom.ts deleted file mode 100644 index 20e9d0c00c..0000000000 --- a/compat/operators/withLatestFrom.ts +++ /dev/null @@ -1 +0,0 @@ -export { withLatestFrom } from 'rxjs/operators'; diff --git a/compat/operators/zip.ts b/compat/operators/zip.ts deleted file mode 100644 index a0e8da6b61..0000000000 --- a/compat/operators/zip.ts +++ /dev/null @@ -1 +0,0 @@ -export { zip } from 'rxjs/operators'; diff --git a/compat/operators/zipAll.ts b/compat/operators/zipAll.ts deleted file mode 100644 index e2bb09fa9f..0000000000 --- a/compat/operators/zipAll.ts +++ /dev/null @@ -1 +0,0 @@ -export { zipAll } from 'rxjs/operators'; diff --git a/compat/package.json b/compat/package.json deleted file mode 100644 index fb2cedf0a9..0000000000 --- a/compat/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "rxjs-compat", - "version": "7.0.0-alpha.0", - "main": "./Rx.js", - "license": "Apache-2.0", - "typings": "./Rx.d.ts" -} diff --git a/compat/scheduler/animationFrame.ts b/compat/scheduler/animationFrame.ts deleted file mode 100644 index f408918882..0000000000 --- a/compat/scheduler/animationFrame.ts +++ /dev/null @@ -1 +0,0 @@ -export { animationFrameScheduler as animationFrame } from 'rxjs'; diff --git a/compat/scheduler/asap.ts b/compat/scheduler/asap.ts deleted file mode 100644 index 5de8e08754..0000000000 --- a/compat/scheduler/asap.ts +++ /dev/null @@ -1 +0,0 @@ -export { asapScheduler as asap } from 'rxjs'; diff --git a/compat/scheduler/async.ts b/compat/scheduler/async.ts deleted file mode 100644 index fa65215b31..0000000000 --- a/compat/scheduler/async.ts +++ /dev/null @@ -1 +0,0 @@ -export { asyncScheduler as async } from 'rxjs'; diff --git a/compat/scheduler/queue.ts b/compat/scheduler/queue.ts deleted file mode 100644 index d3ed980800..0000000000 --- a/compat/scheduler/queue.ts +++ /dev/null @@ -1 +0,0 @@ -export { queueScheduler as queue } from 'rxjs'; diff --git a/compat/symbol/iterator.ts b/compat/symbol/iterator.ts deleted file mode 100644 index 37c5253b18..0000000000 --- a/compat/symbol/iterator.ts +++ /dev/null @@ -1 +0,0 @@ -export {iterator} from 'rxjs/internal-compatibility'; diff --git a/compat/symbol/observable.ts b/compat/symbol/observable.ts deleted file mode 100644 index b3aeae9f8a..0000000000 --- a/compat/symbol/observable.ts +++ /dev/null @@ -1 +0,0 @@ -export {observable} from 'rxjs/internal-compatibility'; diff --git a/compat/symbol/rxSubscriber.ts b/compat/symbol/rxSubscriber.ts deleted file mode 100644 index 0ea3230780..0000000000 --- a/compat/symbol/rxSubscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export {rxSubscriber} from 'rxjs/internal-compatibility'; diff --git a/compat/umd.ts b/compat/umd.ts deleted file mode 100644 index 5ad953f786..0000000000 --- a/compat/umd.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - NOTE: This is the global export file for rxjs v6 and higher. - */ - -/* rxjs and rxjs.operators */ -export * from './Rx'; - -/* rxjs.testing */ -import * as _testing from 'rxjs/testing'; -export const testing = _testing; - -/* rxjs.ajax */ -import * as _ajax from 'rxjs/ajax'; -export const ajax = _ajax; - -/* rxjs.webSocket */ -import * as _webSocket from 'rxjs/webSocket'; -export const webSocket = _webSocket; diff --git a/compat/util/ArgumentOutOfRangeError.ts b/compat/util/ArgumentOutOfRangeError.ts deleted file mode 100644 index 27dce857bd..0000000000 --- a/compat/util/ArgumentOutOfRangeError.ts +++ /dev/null @@ -1 +0,0 @@ -export { ArgumentOutOfRangeError } from 'rxjs/internal-compatibility'; diff --git a/compat/util/EmptyError.ts b/compat/util/EmptyError.ts deleted file mode 100644 index 31a8219911..0000000000 --- a/compat/util/EmptyError.ts +++ /dev/null @@ -1 +0,0 @@ -export { EmptyError } from 'rxjs/internal-compatibility'; diff --git a/compat/util/Immediate.ts b/compat/util/Immediate.ts deleted file mode 100644 index 0974ed1759..0000000000 --- a/compat/util/Immediate.ts +++ /dev/null @@ -1 +0,0 @@ -export { Immediate } from 'rxjs/internal-compatibility'; diff --git a/compat/util/ObjectUnsubscribedError.ts b/compat/util/ObjectUnsubscribedError.ts deleted file mode 100644 index 4e41d87d6a..0000000000 --- a/compat/util/ObjectUnsubscribedError.ts +++ /dev/null @@ -1 +0,0 @@ -export { ObjectUnsubscribedError } from 'rxjs/internal-compatibility'; diff --git a/compat/util/TimeoutError.ts b/compat/util/TimeoutError.ts deleted file mode 100644 index 9cd9665e8a..0000000000 --- a/compat/util/TimeoutError.ts +++ /dev/null @@ -1 +0,0 @@ -export { TimeoutError } from 'rxjs/internal-compatibility'; diff --git a/compat/util/UnsubscriptionError.ts b/compat/util/UnsubscriptionError.ts deleted file mode 100644 index 504974c58a..0000000000 --- a/compat/util/UnsubscriptionError.ts +++ /dev/null @@ -1 +0,0 @@ -export { UnsubscriptionError } from 'rxjs/internal-compatibility'; diff --git a/compat/util/applyMixins.ts b/compat/util/applyMixins.ts deleted file mode 100644 index bb0de005c8..0000000000 --- a/compat/util/applyMixins.ts +++ /dev/null @@ -1 +0,0 @@ -export { applyMixins } from 'rxjs/internal-compatibility'; diff --git a/compat/util/errorObject.ts b/compat/util/errorObject.ts deleted file mode 100644 index 5d49862494..0000000000 --- a/compat/util/errorObject.ts +++ /dev/null @@ -1 +0,0 @@ -export { errorObject } from 'rxjs/internal-compatibility'; diff --git a/compat/util/hostReportError.ts b/compat/util/hostReportError.ts deleted file mode 100644 index 8285362c3a..0000000000 --- a/compat/util/hostReportError.ts +++ /dev/null @@ -1 +0,0 @@ -export { hostReportError } from 'rxjs/internal-compatibility'; diff --git a/compat/util/identity.ts b/compat/util/identity.ts deleted file mode 100644 index 06d842616e..0000000000 --- a/compat/util/identity.ts +++ /dev/null @@ -1 +0,0 @@ -export { identity } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isArray.ts b/compat/util/isArray.ts deleted file mode 100644 index 1bc40e03ff..0000000000 --- a/compat/util/isArray.ts +++ /dev/null @@ -1 +0,0 @@ -export { isArray } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isArrayLike.ts b/compat/util/isArrayLike.ts deleted file mode 100644 index 65d2015432..0000000000 --- a/compat/util/isArrayLike.ts +++ /dev/null @@ -1 +0,0 @@ -export { isArrayLike } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isDate.ts b/compat/util/isDate.ts deleted file mode 100644 index 3b55ffafde..0000000000 --- a/compat/util/isDate.ts +++ /dev/null @@ -1 +0,0 @@ -export { isDate } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isFunction.ts b/compat/util/isFunction.ts deleted file mode 100644 index 9a87bc5e2f..0000000000 --- a/compat/util/isFunction.ts +++ /dev/null @@ -1 +0,0 @@ -export { isFunction } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isIterable.ts b/compat/util/isIterable.ts deleted file mode 100644 index 498f0da0d4..0000000000 --- a/compat/util/isIterable.ts +++ /dev/null @@ -1 +0,0 @@ -export { isIterable } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isNumeric.ts b/compat/util/isNumeric.ts deleted file mode 100644 index c5fffbda87..0000000000 --- a/compat/util/isNumeric.ts +++ /dev/null @@ -1 +0,0 @@ -export { isNumeric } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isObject.ts b/compat/util/isObject.ts deleted file mode 100644 index 3592efa0cd..0000000000 --- a/compat/util/isObject.ts +++ /dev/null @@ -1 +0,0 @@ -export { isObject } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isObservable.ts b/compat/util/isObservable.ts deleted file mode 100644 index 2707f69504..0000000000 --- a/compat/util/isObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export { isObservable } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isPromise.ts b/compat/util/isPromise.ts deleted file mode 100644 index e91eda8d34..0000000000 --- a/compat/util/isPromise.ts +++ /dev/null @@ -1 +0,0 @@ -export { isPromise } from 'rxjs/internal-compatibility'; diff --git a/compat/util/isScheduler.ts b/compat/util/isScheduler.ts deleted file mode 100644 index e1841bbfe4..0000000000 --- a/compat/util/isScheduler.ts +++ /dev/null @@ -1 +0,0 @@ -export { isScheduler } from 'rxjs/internal-compatibility'; diff --git a/compat/util/noop.ts b/compat/util/noop.ts deleted file mode 100644 index e46ba79ee6..0000000000 --- a/compat/util/noop.ts +++ /dev/null @@ -1 +0,0 @@ -export { noop } from 'rxjs/internal-compatibility'; diff --git a/compat/util/not.ts b/compat/util/not.ts deleted file mode 100644 index 51a1dbff09..0000000000 --- a/compat/util/not.ts +++ /dev/null @@ -1 +0,0 @@ -export { not } from 'rxjs/internal-compatibility'; diff --git a/compat/util/pipe.ts b/compat/util/pipe.ts deleted file mode 100644 index dba0e1d88c..0000000000 --- a/compat/util/pipe.ts +++ /dev/null @@ -1 +0,0 @@ -export { pipe } from 'rxjs/internal-compatibility'; diff --git a/compat/util/root.ts b/compat/util/root.ts deleted file mode 100644 index e035464b91..0000000000 --- a/compat/util/root.ts +++ /dev/null @@ -1 +0,0 @@ -export { root } from 'rxjs/internal-compatibility'; diff --git a/compat/util/subscribeTo.ts b/compat/util/subscribeTo.ts deleted file mode 100644 index 06fa6ff1f6..0000000000 --- a/compat/util/subscribeTo.ts +++ /dev/null @@ -1 +0,0 @@ -export { subscribeTo } from 'rxjs/internal-compatibility'; diff --git a/compat/util/subscribeToArray.ts b/compat/util/subscribeToArray.ts deleted file mode 100644 index 01871ec8c2..0000000000 --- a/compat/util/subscribeToArray.ts +++ /dev/null @@ -1 +0,0 @@ -export { subscribeToArray } from 'rxjs/internal-compatibility'; diff --git a/compat/util/subscribeToIterable.ts b/compat/util/subscribeToIterable.ts deleted file mode 100644 index 0ea162a018..0000000000 --- a/compat/util/subscribeToIterable.ts +++ /dev/null @@ -1 +0,0 @@ -export { subscribeToIterable } from 'rxjs/internal-compatibility'; diff --git a/compat/util/subscribeToObservable.ts b/compat/util/subscribeToObservable.ts deleted file mode 100644 index 4f281206c8..0000000000 --- a/compat/util/subscribeToObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export { subscribeToObservable } from 'rxjs/internal-compatibility'; diff --git a/compat/util/subscribeToPromise.ts b/compat/util/subscribeToPromise.ts deleted file mode 100644 index 29b661b8ef..0000000000 --- a/compat/util/subscribeToPromise.ts +++ /dev/null @@ -1 +0,0 @@ -export { subscribeToPromise } from 'rxjs/internal-compatibility'; diff --git a/compat/util/subscribeToResult.ts b/compat/util/subscribeToResult.ts deleted file mode 100644 index 051ac3c90d..0000000000 --- a/compat/util/subscribeToResult.ts +++ /dev/null @@ -1 +0,0 @@ -export { subscribeToResult } from 'rxjs/internal-compatibility'; diff --git a/compat/util/toSubscriber.ts b/compat/util/toSubscriber.ts deleted file mode 100644 index 007506de9c..0000000000 --- a/compat/util/toSubscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export { toSubscriber } from 'rxjs/internal-compatibility'; diff --git a/compat/util/tryCatch.ts b/compat/util/tryCatch.ts deleted file mode 100644 index 467c1556ba..0000000000 --- a/compat/util/tryCatch.ts +++ /dev/null @@ -1 +0,0 @@ -export { tryCatch } from 'rxjs/internal-compatibility'; diff --git a/doc/pipeable-operators.md b/doc/pipeable-operators.md index c4d1800fe7..5a0fe4d9e1 100644 --- a/doc/pipeable-operators.md +++ b/doc/pipeable-operators.md @@ -1,6 +1,6 @@ # Pipeable Operators -Starting in version 5.5 we have shipped "pipeable operators", which can be accessed in `rxjs/operators` (notice the pluralized "operators"). These are meant to be a better approach for pulling in just the operators you need than the "patch" operators found in `rxjs-compat` package. +Starting in version 5.5 we have shipped "pipeable operators", which can be accessed in `rxjs/operators` (notice the pluralized "operators"). **NOTE**: Using `rxjs` or `rxjs/operators` without making changes to your build process can result in larger bundles. See [Known Issues](#known-issues) section below. diff --git a/legacy-reexport/AsyncSubject.ts b/legacy-reexport/AsyncSubject.ts deleted file mode 100644 index 2c4d977f9a..0000000000 --- a/legacy-reexport/AsyncSubject.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/AsyncSubject'; diff --git a/legacy-reexport/BehaviorSubject.ts b/legacy-reexport/BehaviorSubject.ts deleted file mode 100644 index f8b4f44dff..0000000000 --- a/legacy-reexport/BehaviorSubject.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/BehaviorSubject'; diff --git a/legacy-reexport/InnerSubscriber.ts b/legacy-reexport/InnerSubscriber.ts deleted file mode 100644 index 79e3b4a2d7..0000000000 --- a/legacy-reexport/InnerSubscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/InnerSubscriber'; diff --git a/legacy-reexport/Notification.ts b/legacy-reexport/Notification.ts deleted file mode 100644 index 5d9956d109..0000000000 --- a/legacy-reexport/Notification.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/Notification'; diff --git a/legacy-reexport/Observable.ts b/legacy-reexport/Observable.ts deleted file mode 100644 index cc1e68dffe..0000000000 --- a/legacy-reexport/Observable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/Observable'; diff --git a/legacy-reexport/Observer.ts b/legacy-reexport/Observer.ts deleted file mode 100644 index 867ce2f93d..0000000000 --- a/legacy-reexport/Observer.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/Observer'; diff --git a/legacy-reexport/Operator.ts b/legacy-reexport/Operator.ts deleted file mode 100644 index fb9a9f9979..0000000000 --- a/legacy-reexport/Operator.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/Operator'; diff --git a/legacy-reexport/OuterSubscriber.ts b/legacy-reexport/OuterSubscriber.ts deleted file mode 100644 index 9060ae771a..0000000000 --- a/legacy-reexport/OuterSubscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/OuterSubscriber'; diff --git a/legacy-reexport/ReplaySubject.ts b/legacy-reexport/ReplaySubject.ts deleted file mode 100644 index b66aea96e6..0000000000 --- a/legacy-reexport/ReplaySubject.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/ReplaySubject'; diff --git a/legacy-reexport/Rx.ts b/legacy-reexport/Rx.ts deleted file mode 100644 index e04c752cf9..0000000000 --- a/legacy-reexport/Rx.ts +++ /dev/null @@ -1,2 +0,0 @@ - -export * from 'rxjs-compat'; diff --git a/legacy-reexport/Scheduler.ts b/legacy-reexport/Scheduler.ts deleted file mode 100644 index c21eb1fe59..0000000000 --- a/legacy-reexport/Scheduler.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/Scheduler'; diff --git a/legacy-reexport/Subject.ts b/legacy-reexport/Subject.ts deleted file mode 100644 index 7448233ec9..0000000000 --- a/legacy-reexport/Subject.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/Subject'; diff --git a/legacy-reexport/SubjectSubscription.ts b/legacy-reexport/SubjectSubscription.ts deleted file mode 100644 index 4f481ced40..0000000000 --- a/legacy-reexport/SubjectSubscription.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/SubjectSubscription'; diff --git a/legacy-reexport/Subscriber.ts b/legacy-reexport/Subscriber.ts deleted file mode 100644 index 15356d5287..0000000000 --- a/legacy-reexport/Subscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/Subscriber'; diff --git a/legacy-reexport/Subscription.ts b/legacy-reexport/Subscription.ts deleted file mode 100644 index 028cf4c7e9..0000000000 --- a/legacy-reexport/Subscription.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/Subscription'; diff --git a/legacy-reexport/add/observable/bindCallback.ts b/legacy-reexport/add/observable/bindCallback.ts deleted file mode 100644 index 7926a093aa..0000000000 --- a/legacy-reexport/add/observable/bindCallback.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/bindCallback'; diff --git a/legacy-reexport/add/observable/bindNodeCallback.ts b/legacy-reexport/add/observable/bindNodeCallback.ts deleted file mode 100644 index 049f9a7c22..0000000000 --- a/legacy-reexport/add/observable/bindNodeCallback.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/bindNodeCallback'; diff --git a/legacy-reexport/add/observable/combineLatest.ts b/legacy-reexport/add/observable/combineLatest.ts deleted file mode 100644 index 7163d7a9bf..0000000000 --- a/legacy-reexport/add/observable/combineLatest.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/combineLatest'; diff --git a/legacy-reexport/add/observable/concat.ts b/legacy-reexport/add/observable/concat.ts deleted file mode 100644 index b392cb2e47..0000000000 --- a/legacy-reexport/add/observable/concat.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/concat'; diff --git a/legacy-reexport/add/observable/defer.ts b/legacy-reexport/add/observable/defer.ts deleted file mode 100644 index b4e296628f..0000000000 --- a/legacy-reexport/add/observable/defer.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/defer'; diff --git a/legacy-reexport/add/observable/dom/ajax.ts b/legacy-reexport/add/observable/dom/ajax.ts deleted file mode 100644 index 2b32efef18..0000000000 --- a/legacy-reexport/add/observable/dom/ajax.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/dom/ajax'; diff --git a/legacy-reexport/add/observable/dom/webSocket.ts b/legacy-reexport/add/observable/dom/webSocket.ts deleted file mode 100644 index bc5d3f32ad..0000000000 --- a/legacy-reexport/add/observable/dom/webSocket.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/dom/webSocket'; diff --git a/legacy-reexport/add/observable/empty.ts b/legacy-reexport/add/observable/empty.ts deleted file mode 100644 index d261ad7fcf..0000000000 --- a/legacy-reexport/add/observable/empty.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/empty'; diff --git a/legacy-reexport/add/observable/forkJoin.ts b/legacy-reexport/add/observable/forkJoin.ts deleted file mode 100644 index 2a581e2999..0000000000 --- a/legacy-reexport/add/observable/forkJoin.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/forkJoin'; diff --git a/legacy-reexport/add/observable/from.ts b/legacy-reexport/add/observable/from.ts deleted file mode 100644 index 06572d8707..0000000000 --- a/legacy-reexport/add/observable/from.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/from'; diff --git a/legacy-reexport/add/observable/fromEvent.ts b/legacy-reexport/add/observable/fromEvent.ts deleted file mode 100644 index 0d6e05b376..0000000000 --- a/legacy-reexport/add/observable/fromEvent.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/fromEvent'; diff --git a/legacy-reexport/add/observable/fromEventPattern.ts b/legacy-reexport/add/observable/fromEventPattern.ts deleted file mode 100644 index c7241f8677..0000000000 --- a/legacy-reexport/add/observable/fromEventPattern.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/fromEventPattern'; diff --git a/legacy-reexport/add/observable/fromPromise.ts b/legacy-reexport/add/observable/fromPromise.ts deleted file mode 100644 index c2622426d3..0000000000 --- a/legacy-reexport/add/observable/fromPromise.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/fromPromise'; diff --git a/legacy-reexport/add/observable/generate.ts b/legacy-reexport/add/observable/generate.ts deleted file mode 100644 index 3203a9b699..0000000000 --- a/legacy-reexport/add/observable/generate.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/generate'; diff --git a/legacy-reexport/add/observable/if.ts b/legacy-reexport/add/observable/if.ts deleted file mode 100644 index 5767d74c70..0000000000 --- a/legacy-reexport/add/observable/if.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/if'; diff --git a/legacy-reexport/add/observable/interval.ts b/legacy-reexport/add/observable/interval.ts deleted file mode 100644 index 6cd2b31dca..0000000000 --- a/legacy-reexport/add/observable/interval.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/interval'; diff --git a/legacy-reexport/add/observable/merge.ts b/legacy-reexport/add/observable/merge.ts deleted file mode 100644 index 7a111a5ddb..0000000000 --- a/legacy-reexport/add/observable/merge.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/merge'; diff --git a/legacy-reexport/add/observable/never.ts b/legacy-reexport/add/observable/never.ts deleted file mode 100644 index 4c464d09fe..0000000000 --- a/legacy-reexport/add/observable/never.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/never'; diff --git a/legacy-reexport/add/observable/of.ts b/legacy-reexport/add/observable/of.ts deleted file mode 100644 index c0720f6aaa..0000000000 --- a/legacy-reexport/add/observable/of.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/of'; diff --git a/legacy-reexport/add/observable/onErrorResumeNext.ts b/legacy-reexport/add/observable/onErrorResumeNext.ts deleted file mode 100644 index 80a4d91a9b..0000000000 --- a/legacy-reexport/add/observable/onErrorResumeNext.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/onErrorResumeNext'; diff --git a/legacy-reexport/add/observable/pairs.ts b/legacy-reexport/add/observable/pairs.ts deleted file mode 100644 index 3af25b6bb7..0000000000 --- a/legacy-reexport/add/observable/pairs.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/pairs'; diff --git a/legacy-reexport/add/observable/race.ts b/legacy-reexport/add/observable/race.ts deleted file mode 100644 index 9b45c4e3f6..0000000000 --- a/legacy-reexport/add/observable/race.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/race'; diff --git a/legacy-reexport/add/observable/range.ts b/legacy-reexport/add/observable/range.ts deleted file mode 100644 index 2ae274ed55..0000000000 --- a/legacy-reexport/add/observable/range.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/range'; diff --git a/legacy-reexport/add/observable/throw.ts b/legacy-reexport/add/observable/throw.ts deleted file mode 100644 index 7405653da6..0000000000 --- a/legacy-reexport/add/observable/throw.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/throw'; diff --git a/legacy-reexport/add/observable/timer.ts b/legacy-reexport/add/observable/timer.ts deleted file mode 100644 index 60e2f9b4d7..0000000000 --- a/legacy-reexport/add/observable/timer.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/timer'; diff --git a/legacy-reexport/add/observable/using.ts b/legacy-reexport/add/observable/using.ts deleted file mode 100644 index c7ac49a406..0000000000 --- a/legacy-reexport/add/observable/using.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/using'; diff --git a/legacy-reexport/add/observable/zip.ts b/legacy-reexport/add/observable/zip.ts deleted file mode 100644 index 5c720416e9..0000000000 --- a/legacy-reexport/add/observable/zip.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/observable/zip'; diff --git a/legacy-reexport/add/operator/audit.ts b/legacy-reexport/add/operator/audit.ts deleted file mode 100644 index a3eb5a4beb..0000000000 --- a/legacy-reexport/add/operator/audit.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/audit'; diff --git a/legacy-reexport/add/operator/auditTime.ts b/legacy-reexport/add/operator/auditTime.ts deleted file mode 100644 index 41f68da287..0000000000 --- a/legacy-reexport/add/operator/auditTime.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/auditTime'; diff --git a/legacy-reexport/add/operator/buffer.ts b/legacy-reexport/add/operator/buffer.ts deleted file mode 100644 index b501cae14a..0000000000 --- a/legacy-reexport/add/operator/buffer.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/buffer'; diff --git a/legacy-reexport/add/operator/bufferCount.ts b/legacy-reexport/add/operator/bufferCount.ts deleted file mode 100644 index 96237e565e..0000000000 --- a/legacy-reexport/add/operator/bufferCount.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/bufferCount'; diff --git a/legacy-reexport/add/operator/bufferTime.ts b/legacy-reexport/add/operator/bufferTime.ts deleted file mode 100644 index abd78ab83b..0000000000 --- a/legacy-reexport/add/operator/bufferTime.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/bufferTime'; diff --git a/legacy-reexport/add/operator/bufferToggle.ts b/legacy-reexport/add/operator/bufferToggle.ts deleted file mode 100644 index 2dbdf86ebe..0000000000 --- a/legacy-reexport/add/operator/bufferToggle.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/bufferToggle'; diff --git a/legacy-reexport/add/operator/bufferWhen.ts b/legacy-reexport/add/operator/bufferWhen.ts deleted file mode 100644 index 4ad636f834..0000000000 --- a/legacy-reexport/add/operator/bufferWhen.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/bufferWhen'; diff --git a/legacy-reexport/add/operator/catch.ts b/legacy-reexport/add/operator/catch.ts deleted file mode 100644 index 316a29eea5..0000000000 --- a/legacy-reexport/add/operator/catch.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/catch'; diff --git a/legacy-reexport/add/operator/combineAll.ts b/legacy-reexport/add/operator/combineAll.ts deleted file mode 100644 index 0cf4be8153..0000000000 --- a/legacy-reexport/add/operator/combineAll.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/combineAll'; diff --git a/legacy-reexport/add/operator/combineLatest.ts b/legacy-reexport/add/operator/combineLatest.ts deleted file mode 100644 index 88333e7216..0000000000 --- a/legacy-reexport/add/operator/combineLatest.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/combineLatest'; diff --git a/legacy-reexport/add/operator/concat.ts b/legacy-reexport/add/operator/concat.ts deleted file mode 100644 index c743a6b40f..0000000000 --- a/legacy-reexport/add/operator/concat.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/concat'; diff --git a/legacy-reexport/add/operator/concatAll.ts b/legacy-reexport/add/operator/concatAll.ts deleted file mode 100644 index cf9157fdac..0000000000 --- a/legacy-reexport/add/operator/concatAll.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/concatAll'; diff --git a/legacy-reexport/add/operator/concatMap.ts b/legacy-reexport/add/operator/concatMap.ts deleted file mode 100644 index dadc722014..0000000000 --- a/legacy-reexport/add/operator/concatMap.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/concatMap'; diff --git a/legacy-reexport/add/operator/concatMapTo.ts b/legacy-reexport/add/operator/concatMapTo.ts deleted file mode 100644 index 9a843a60e7..0000000000 --- a/legacy-reexport/add/operator/concatMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/concatMapTo'; diff --git a/legacy-reexport/add/operator/count.ts b/legacy-reexport/add/operator/count.ts deleted file mode 100644 index 85c6832335..0000000000 --- a/legacy-reexport/add/operator/count.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/count'; diff --git a/legacy-reexport/add/operator/debounce.ts b/legacy-reexport/add/operator/debounce.ts deleted file mode 100644 index e5ff5dbd6d..0000000000 --- a/legacy-reexport/add/operator/debounce.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/debounce'; diff --git a/legacy-reexport/add/operator/debounceTime.ts b/legacy-reexport/add/operator/debounceTime.ts deleted file mode 100644 index 8ffedf912c..0000000000 --- a/legacy-reexport/add/operator/debounceTime.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/debounceTime'; diff --git a/legacy-reexport/add/operator/defaultIfEmpty.ts b/legacy-reexport/add/operator/defaultIfEmpty.ts deleted file mode 100644 index d8e00700f5..0000000000 --- a/legacy-reexport/add/operator/defaultIfEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/defaultIfEmpty'; diff --git a/legacy-reexport/add/operator/delay.ts b/legacy-reexport/add/operator/delay.ts deleted file mode 100644 index 96d20172c1..0000000000 --- a/legacy-reexport/add/operator/delay.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/delay'; diff --git a/legacy-reexport/add/operator/delayWhen.ts b/legacy-reexport/add/operator/delayWhen.ts deleted file mode 100644 index a50cebb07b..0000000000 --- a/legacy-reexport/add/operator/delayWhen.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/delayWhen'; diff --git a/legacy-reexport/add/operator/dematerialize.ts b/legacy-reexport/add/operator/dematerialize.ts deleted file mode 100644 index 18f368b967..0000000000 --- a/legacy-reexport/add/operator/dematerialize.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/dematerialize'; diff --git a/legacy-reexport/add/operator/distinct.ts b/legacy-reexport/add/operator/distinct.ts deleted file mode 100644 index 330f8f9af3..0000000000 --- a/legacy-reexport/add/operator/distinct.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/distinct'; diff --git a/legacy-reexport/add/operator/distinctUntilChanged.ts b/legacy-reexport/add/operator/distinctUntilChanged.ts deleted file mode 100644 index 8273e9e8b7..0000000000 --- a/legacy-reexport/add/operator/distinctUntilChanged.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/distinctUntilChanged'; diff --git a/legacy-reexport/add/operator/distinctUntilKeyChanged.ts b/legacy-reexport/add/operator/distinctUntilKeyChanged.ts deleted file mode 100644 index f556b82964..0000000000 --- a/legacy-reexport/add/operator/distinctUntilKeyChanged.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/distinctUntilKeyChanged'; diff --git a/legacy-reexport/add/operator/do.ts b/legacy-reexport/add/operator/do.ts deleted file mode 100644 index 9eee7cd518..0000000000 --- a/legacy-reexport/add/operator/do.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/do'; diff --git a/legacy-reexport/add/operator/elementAt.ts b/legacy-reexport/add/operator/elementAt.ts deleted file mode 100644 index 8fe8f29a2e..0000000000 --- a/legacy-reexport/add/operator/elementAt.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/elementAt'; diff --git a/legacy-reexport/add/operator/every.ts b/legacy-reexport/add/operator/every.ts deleted file mode 100644 index 789d3c1409..0000000000 --- a/legacy-reexport/add/operator/every.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/every'; diff --git a/legacy-reexport/add/operator/exhaust.ts b/legacy-reexport/add/operator/exhaust.ts deleted file mode 100644 index d0cae89693..0000000000 --- a/legacy-reexport/add/operator/exhaust.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/exhaust'; diff --git a/legacy-reexport/add/operator/exhaustMap.ts b/legacy-reexport/add/operator/exhaustMap.ts deleted file mode 100644 index 6e231be49a..0000000000 --- a/legacy-reexport/add/operator/exhaustMap.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/exhaustMap'; diff --git a/legacy-reexport/add/operator/expand.ts b/legacy-reexport/add/operator/expand.ts deleted file mode 100644 index 035ea4963e..0000000000 --- a/legacy-reexport/add/operator/expand.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/expand'; diff --git a/legacy-reexport/add/operator/filter.ts b/legacy-reexport/add/operator/filter.ts deleted file mode 100644 index 1cfe74a7a1..0000000000 --- a/legacy-reexport/add/operator/filter.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/filter'; diff --git a/legacy-reexport/add/operator/finally.ts b/legacy-reexport/add/operator/finally.ts deleted file mode 100644 index 7db9d996cb..0000000000 --- a/legacy-reexport/add/operator/finally.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/finally'; diff --git a/legacy-reexport/add/operator/find.ts b/legacy-reexport/add/operator/find.ts deleted file mode 100644 index 2255ba45e1..0000000000 --- a/legacy-reexport/add/operator/find.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/find'; diff --git a/legacy-reexport/add/operator/findIndex.ts b/legacy-reexport/add/operator/findIndex.ts deleted file mode 100644 index 8d984696d2..0000000000 --- a/legacy-reexport/add/operator/findIndex.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/findIndex'; diff --git a/legacy-reexport/add/operator/first.ts b/legacy-reexport/add/operator/first.ts deleted file mode 100644 index b12264fc58..0000000000 --- a/legacy-reexport/add/operator/first.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/first'; diff --git a/legacy-reexport/add/operator/groupBy.ts b/legacy-reexport/add/operator/groupBy.ts deleted file mode 100644 index 932d1f4607..0000000000 --- a/legacy-reexport/add/operator/groupBy.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/groupBy'; diff --git a/legacy-reexport/add/operator/ignoreElements.ts b/legacy-reexport/add/operator/ignoreElements.ts deleted file mode 100644 index 28b04ba00b..0000000000 --- a/legacy-reexport/add/operator/ignoreElements.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/ignoreElements'; diff --git a/legacy-reexport/add/operator/isEmpty.ts b/legacy-reexport/add/operator/isEmpty.ts deleted file mode 100644 index b84aaa9f59..0000000000 --- a/legacy-reexport/add/operator/isEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/isEmpty'; diff --git a/legacy-reexport/add/operator/last.ts b/legacy-reexport/add/operator/last.ts deleted file mode 100644 index 0b222df5b4..0000000000 --- a/legacy-reexport/add/operator/last.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/last'; diff --git a/legacy-reexport/add/operator/let.ts b/legacy-reexport/add/operator/let.ts deleted file mode 100644 index 5b92015106..0000000000 --- a/legacy-reexport/add/operator/let.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/let'; diff --git a/legacy-reexport/add/operator/map.ts b/legacy-reexport/add/operator/map.ts deleted file mode 100644 index e9f2a7f481..0000000000 --- a/legacy-reexport/add/operator/map.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/map'; diff --git a/legacy-reexport/add/operator/mapTo.ts b/legacy-reexport/add/operator/mapTo.ts deleted file mode 100644 index a49f787cee..0000000000 --- a/legacy-reexport/add/operator/mapTo.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/mapTo'; diff --git a/legacy-reexport/add/operator/materialize.ts b/legacy-reexport/add/operator/materialize.ts deleted file mode 100644 index e7731991fa..0000000000 --- a/legacy-reexport/add/operator/materialize.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/materialize'; diff --git a/legacy-reexport/add/operator/max.ts b/legacy-reexport/add/operator/max.ts deleted file mode 100644 index c66f7aeaf2..0000000000 --- a/legacy-reexport/add/operator/max.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/max'; diff --git a/legacy-reexport/add/operator/merge.ts b/legacy-reexport/add/operator/merge.ts deleted file mode 100644 index dfa5c46331..0000000000 --- a/legacy-reexport/add/operator/merge.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/merge'; diff --git a/legacy-reexport/add/operator/mergeAll.ts b/legacy-reexport/add/operator/mergeAll.ts deleted file mode 100644 index 06cdc4fad6..0000000000 --- a/legacy-reexport/add/operator/mergeAll.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/mergeAll'; diff --git a/legacy-reexport/add/operator/mergeMap.ts b/legacy-reexport/add/operator/mergeMap.ts deleted file mode 100644 index d8ec3cc4e2..0000000000 --- a/legacy-reexport/add/operator/mergeMap.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/mergeMap'; diff --git a/legacy-reexport/add/operator/mergeMapTo.ts b/legacy-reexport/add/operator/mergeMapTo.ts deleted file mode 100644 index 0d8e15fb2e..0000000000 --- a/legacy-reexport/add/operator/mergeMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/mergeMapTo'; diff --git a/legacy-reexport/add/operator/mergeScan.ts b/legacy-reexport/add/operator/mergeScan.ts deleted file mode 100644 index 17c5fcc122..0000000000 --- a/legacy-reexport/add/operator/mergeScan.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/mergeScan'; diff --git a/legacy-reexport/add/operator/min.ts b/legacy-reexport/add/operator/min.ts deleted file mode 100644 index 5fa91d5207..0000000000 --- a/legacy-reexport/add/operator/min.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/min'; diff --git a/legacy-reexport/add/operator/multicast.ts b/legacy-reexport/add/operator/multicast.ts deleted file mode 100644 index 03b0670b06..0000000000 --- a/legacy-reexport/add/operator/multicast.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/multicast'; diff --git a/legacy-reexport/add/operator/observeOn.ts b/legacy-reexport/add/operator/observeOn.ts deleted file mode 100644 index 4ade08594d..0000000000 --- a/legacy-reexport/add/operator/observeOn.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/observeOn'; diff --git a/legacy-reexport/add/operator/onErrorResumeNext.ts b/legacy-reexport/add/operator/onErrorResumeNext.ts deleted file mode 100644 index 0d2aa976cb..0000000000 --- a/legacy-reexport/add/operator/onErrorResumeNext.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/onErrorResumeNext'; diff --git a/legacy-reexport/add/operator/pairwise.ts b/legacy-reexport/add/operator/pairwise.ts deleted file mode 100644 index 2930fd30b9..0000000000 --- a/legacy-reexport/add/operator/pairwise.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/pairwise'; diff --git a/legacy-reexport/add/operator/partition.ts b/legacy-reexport/add/operator/partition.ts deleted file mode 100644 index 7b8c869fb0..0000000000 --- a/legacy-reexport/add/operator/partition.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/partition'; diff --git a/legacy-reexport/add/operator/pluck.ts b/legacy-reexport/add/operator/pluck.ts deleted file mode 100644 index 0af0f3b66b..0000000000 --- a/legacy-reexport/add/operator/pluck.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/pluck'; diff --git a/legacy-reexport/add/operator/publish.ts b/legacy-reexport/add/operator/publish.ts deleted file mode 100644 index b7198cc9a0..0000000000 --- a/legacy-reexport/add/operator/publish.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/publish'; diff --git a/legacy-reexport/add/operator/publishBehavior.ts b/legacy-reexport/add/operator/publishBehavior.ts deleted file mode 100644 index 3bc5e01ae1..0000000000 --- a/legacy-reexport/add/operator/publishBehavior.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/publishBehavior'; diff --git a/legacy-reexport/add/operator/publishLast.ts b/legacy-reexport/add/operator/publishLast.ts deleted file mode 100644 index 243d07cf16..0000000000 --- a/legacy-reexport/add/operator/publishLast.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/publishLast'; diff --git a/legacy-reexport/add/operator/publishReplay.ts b/legacy-reexport/add/operator/publishReplay.ts deleted file mode 100644 index 06bc92239c..0000000000 --- a/legacy-reexport/add/operator/publishReplay.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/publishReplay'; diff --git a/legacy-reexport/add/operator/race.ts b/legacy-reexport/add/operator/race.ts deleted file mode 100644 index b11346693d..0000000000 --- a/legacy-reexport/add/operator/race.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/race'; diff --git a/legacy-reexport/add/operator/reduce.ts b/legacy-reexport/add/operator/reduce.ts deleted file mode 100644 index c8db530ec2..0000000000 --- a/legacy-reexport/add/operator/reduce.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/reduce'; diff --git a/legacy-reexport/add/operator/repeat.ts b/legacy-reexport/add/operator/repeat.ts deleted file mode 100644 index 4290613b94..0000000000 --- a/legacy-reexport/add/operator/repeat.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/repeat'; diff --git a/legacy-reexport/add/operator/repeatWhen.ts b/legacy-reexport/add/operator/repeatWhen.ts deleted file mode 100644 index ca5471a38b..0000000000 --- a/legacy-reexport/add/operator/repeatWhen.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/repeatWhen'; diff --git a/legacy-reexport/add/operator/retry.ts b/legacy-reexport/add/operator/retry.ts deleted file mode 100644 index fb9316b376..0000000000 --- a/legacy-reexport/add/operator/retry.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/retry'; diff --git a/legacy-reexport/add/operator/retryWhen.ts b/legacy-reexport/add/operator/retryWhen.ts deleted file mode 100644 index c4553374e9..0000000000 --- a/legacy-reexport/add/operator/retryWhen.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/retryWhen'; diff --git a/legacy-reexport/add/operator/sample.ts b/legacy-reexport/add/operator/sample.ts deleted file mode 100644 index 441255f375..0000000000 --- a/legacy-reexport/add/operator/sample.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/sample'; diff --git a/legacy-reexport/add/operator/sampleTime.ts b/legacy-reexport/add/operator/sampleTime.ts deleted file mode 100644 index 153d8b01a1..0000000000 --- a/legacy-reexport/add/operator/sampleTime.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/sampleTime'; diff --git a/legacy-reexport/add/operator/scan.ts b/legacy-reexport/add/operator/scan.ts deleted file mode 100644 index baf81625b9..0000000000 --- a/legacy-reexport/add/operator/scan.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/scan'; diff --git a/legacy-reexport/add/operator/sequenceEqual.ts b/legacy-reexport/add/operator/sequenceEqual.ts deleted file mode 100644 index f47a31dc24..0000000000 --- a/legacy-reexport/add/operator/sequenceEqual.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/sequenceEqual'; diff --git a/legacy-reexport/add/operator/share.ts b/legacy-reexport/add/operator/share.ts deleted file mode 100644 index 6db65af4a3..0000000000 --- a/legacy-reexport/add/operator/share.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/share'; diff --git a/legacy-reexport/add/operator/shareReplay.ts b/legacy-reexport/add/operator/shareReplay.ts deleted file mode 100644 index 7f31ff4b1d..0000000000 --- a/legacy-reexport/add/operator/shareReplay.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/shareReplay'; diff --git a/legacy-reexport/add/operator/single.ts b/legacy-reexport/add/operator/single.ts deleted file mode 100644 index d35b3cd68b..0000000000 --- a/legacy-reexport/add/operator/single.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/single'; diff --git a/legacy-reexport/add/operator/skip.ts b/legacy-reexport/add/operator/skip.ts deleted file mode 100644 index 1456f1e5a1..0000000000 --- a/legacy-reexport/add/operator/skip.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/skip'; diff --git a/legacy-reexport/add/operator/skipLast.ts b/legacy-reexport/add/operator/skipLast.ts deleted file mode 100644 index 0c432c9c13..0000000000 --- a/legacy-reexport/add/operator/skipLast.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/skipLast'; diff --git a/legacy-reexport/add/operator/skipUntil.ts b/legacy-reexport/add/operator/skipUntil.ts deleted file mode 100644 index 21ea6b2b96..0000000000 --- a/legacy-reexport/add/operator/skipUntil.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/skipUntil'; diff --git a/legacy-reexport/add/operator/skipWhile.ts b/legacy-reexport/add/operator/skipWhile.ts deleted file mode 100644 index 496218b021..0000000000 --- a/legacy-reexport/add/operator/skipWhile.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/skipWhile'; diff --git a/legacy-reexport/add/operator/startWith.ts b/legacy-reexport/add/operator/startWith.ts deleted file mode 100644 index 9c9e670e1c..0000000000 --- a/legacy-reexport/add/operator/startWith.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/startWith'; diff --git a/legacy-reexport/add/operator/subscribeOn.ts b/legacy-reexport/add/operator/subscribeOn.ts deleted file mode 100644 index a1b5d6d417..0000000000 --- a/legacy-reexport/add/operator/subscribeOn.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/subscribeOn'; diff --git a/legacy-reexport/add/operator/switch.ts b/legacy-reexport/add/operator/switch.ts deleted file mode 100644 index d2d3f48ef9..0000000000 --- a/legacy-reexport/add/operator/switch.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/switch'; diff --git a/legacy-reexport/add/operator/switchMap.ts b/legacy-reexport/add/operator/switchMap.ts deleted file mode 100644 index b1dfdfa155..0000000000 --- a/legacy-reexport/add/operator/switchMap.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/switchMap'; diff --git a/legacy-reexport/add/operator/switchMapTo.ts b/legacy-reexport/add/operator/switchMapTo.ts deleted file mode 100644 index 320b8443d6..0000000000 --- a/legacy-reexport/add/operator/switchMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/switchMapTo'; diff --git a/legacy-reexport/add/operator/take.ts b/legacy-reexport/add/operator/take.ts deleted file mode 100644 index 08c3bcb203..0000000000 --- a/legacy-reexport/add/operator/take.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/take'; diff --git a/legacy-reexport/add/operator/takeLast.ts b/legacy-reexport/add/operator/takeLast.ts deleted file mode 100644 index 13d0816ca9..0000000000 --- a/legacy-reexport/add/operator/takeLast.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/takeLast'; diff --git a/legacy-reexport/add/operator/takeUntil.ts b/legacy-reexport/add/operator/takeUntil.ts deleted file mode 100644 index 78c8e553fd..0000000000 --- a/legacy-reexport/add/operator/takeUntil.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/takeUntil'; diff --git a/legacy-reexport/add/operator/takeWhile.ts b/legacy-reexport/add/operator/takeWhile.ts deleted file mode 100644 index 06ff17408b..0000000000 --- a/legacy-reexport/add/operator/takeWhile.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/takeWhile'; diff --git a/legacy-reexport/add/operator/throttle.ts b/legacy-reexport/add/operator/throttle.ts deleted file mode 100644 index 825457b966..0000000000 --- a/legacy-reexport/add/operator/throttle.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/throttle'; diff --git a/legacy-reexport/add/operator/throttleTime.ts b/legacy-reexport/add/operator/throttleTime.ts deleted file mode 100644 index c683297a14..0000000000 --- a/legacy-reexport/add/operator/throttleTime.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/throttleTime'; diff --git a/legacy-reexport/add/operator/timeInterval.ts b/legacy-reexport/add/operator/timeInterval.ts deleted file mode 100644 index 198a616a73..0000000000 --- a/legacy-reexport/add/operator/timeInterval.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/timeInterval'; diff --git a/legacy-reexport/add/operator/timeout.ts b/legacy-reexport/add/operator/timeout.ts deleted file mode 100644 index 2a69ffdcfd..0000000000 --- a/legacy-reexport/add/operator/timeout.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/timeout'; diff --git a/legacy-reexport/add/operator/timeoutWith.ts b/legacy-reexport/add/operator/timeoutWith.ts deleted file mode 100644 index cd4ec44d8f..0000000000 --- a/legacy-reexport/add/operator/timeoutWith.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/timeoutWith'; diff --git a/legacy-reexport/add/operator/timestamp.ts b/legacy-reexport/add/operator/timestamp.ts deleted file mode 100644 index 16402c814b..0000000000 --- a/legacy-reexport/add/operator/timestamp.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/timestamp'; diff --git a/legacy-reexport/add/operator/toArray.ts b/legacy-reexport/add/operator/toArray.ts deleted file mode 100644 index a0f1a4fc5c..0000000000 --- a/legacy-reexport/add/operator/toArray.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/toArray'; diff --git a/legacy-reexport/add/operator/toPromise.ts b/legacy-reexport/add/operator/toPromise.ts deleted file mode 100644 index cc7b16e2b5..0000000000 --- a/legacy-reexport/add/operator/toPromise.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/toPromise'; diff --git a/legacy-reexport/add/operator/window.ts b/legacy-reexport/add/operator/window.ts deleted file mode 100644 index 450c41f2ac..0000000000 --- a/legacy-reexport/add/operator/window.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/window'; diff --git a/legacy-reexport/add/operator/windowCount.ts b/legacy-reexport/add/operator/windowCount.ts deleted file mode 100644 index da7eccfea4..0000000000 --- a/legacy-reexport/add/operator/windowCount.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/windowCount'; diff --git a/legacy-reexport/add/operator/windowTime.ts b/legacy-reexport/add/operator/windowTime.ts deleted file mode 100644 index 1d82ec67cb..0000000000 --- a/legacy-reexport/add/operator/windowTime.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/windowTime'; diff --git a/legacy-reexport/add/operator/windowToggle.ts b/legacy-reexport/add/operator/windowToggle.ts deleted file mode 100644 index 9ed25dfb40..0000000000 --- a/legacy-reexport/add/operator/windowToggle.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/windowToggle'; diff --git a/legacy-reexport/add/operator/windowWhen.ts b/legacy-reexport/add/operator/windowWhen.ts deleted file mode 100644 index f5d85640b7..0000000000 --- a/legacy-reexport/add/operator/windowWhen.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/windowWhen'; diff --git a/legacy-reexport/add/operator/withLatestFrom.ts b/legacy-reexport/add/operator/withLatestFrom.ts deleted file mode 100644 index 9f715749a3..0000000000 --- a/legacy-reexport/add/operator/withLatestFrom.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/withLatestFrom'; diff --git a/legacy-reexport/add/operator/zip.ts b/legacy-reexport/add/operator/zip.ts deleted file mode 100644 index 414202af81..0000000000 --- a/legacy-reexport/add/operator/zip.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/zip'; diff --git a/legacy-reexport/add/operator/zipAll.ts b/legacy-reexport/add/operator/zipAll.ts deleted file mode 100644 index cf8877f004..0000000000 --- a/legacy-reexport/add/operator/zipAll.ts +++ /dev/null @@ -1 +0,0 @@ -import 'rxjs-compat/add/operator/zipAll'; diff --git a/legacy-reexport/interfaces.ts b/legacy-reexport/interfaces.ts deleted file mode 100644 index 5d5821d284..0000000000 --- a/legacy-reexport/interfaces.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/interfaces'; diff --git a/legacy-reexport/observable/ArrayLikeObservable.ts b/legacy-reexport/observable/ArrayLikeObservable.ts deleted file mode 100644 index 30da288167..0000000000 --- a/legacy-reexport/observable/ArrayLikeObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/ArrayLikeObservable'; diff --git a/legacy-reexport/observable/ArrayObservable.ts b/legacy-reexport/observable/ArrayObservable.ts deleted file mode 100644 index ce2da267cd..0000000000 --- a/legacy-reexport/observable/ArrayObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/ArrayObservable'; diff --git a/legacy-reexport/observable/BoundCallbackObservable.ts b/legacy-reexport/observable/BoundCallbackObservable.ts deleted file mode 100644 index 179030611e..0000000000 --- a/legacy-reexport/observable/BoundCallbackObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/BoundCallbackObservable'; diff --git a/legacy-reexport/observable/BoundNodeCallbackObservable.ts b/legacy-reexport/observable/BoundNodeCallbackObservable.ts deleted file mode 100644 index 7d0eb0367d..0000000000 --- a/legacy-reexport/observable/BoundNodeCallbackObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/BoundNodeCallbackObservable'; diff --git a/legacy-reexport/observable/ConnectableObservable.ts b/legacy-reexport/observable/ConnectableObservable.ts deleted file mode 100644 index a21b3cc668..0000000000 --- a/legacy-reexport/observable/ConnectableObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/ConnectableObservable'; diff --git a/legacy-reexport/observable/DeferObservable.ts b/legacy-reexport/observable/DeferObservable.ts deleted file mode 100644 index cec9147a5b..0000000000 --- a/legacy-reexport/observable/DeferObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/DeferObservable'; diff --git a/legacy-reexport/observable/EmptyObservable.ts b/legacy-reexport/observable/EmptyObservable.ts deleted file mode 100644 index 6f9f0ba105..0000000000 --- a/legacy-reexport/observable/EmptyObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/EmptyObservable'; diff --git a/legacy-reexport/observable/ErrorObservable.ts b/legacy-reexport/observable/ErrorObservable.ts deleted file mode 100644 index 68a7dce975..0000000000 --- a/legacy-reexport/observable/ErrorObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/ErrorObservable'; diff --git a/legacy-reexport/observable/ForkJoinObservable.ts b/legacy-reexport/observable/ForkJoinObservable.ts deleted file mode 100644 index c9fa4dd636..0000000000 --- a/legacy-reexport/observable/ForkJoinObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/ForkJoinObservable'; diff --git a/legacy-reexport/observable/FromEventObservable.ts b/legacy-reexport/observable/FromEventObservable.ts deleted file mode 100644 index 04291abdb9..0000000000 --- a/legacy-reexport/observable/FromEventObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/FromEventObservable'; diff --git a/legacy-reexport/observable/FromEventPatternObservable.ts b/legacy-reexport/observable/FromEventPatternObservable.ts deleted file mode 100644 index e0a473ca7a..0000000000 --- a/legacy-reexport/observable/FromEventPatternObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/FromEventPatternObservable'; diff --git a/legacy-reexport/observable/FromObservable.ts b/legacy-reexport/observable/FromObservable.ts deleted file mode 100644 index c4ec6648c8..0000000000 --- a/legacy-reexport/observable/FromObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/FromObservable'; diff --git a/legacy-reexport/observable/GenerateObservable.ts b/legacy-reexport/observable/GenerateObservable.ts deleted file mode 100644 index 8441d24bae..0000000000 --- a/legacy-reexport/observable/GenerateObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/GenerateObservable'; diff --git a/legacy-reexport/observable/IfObservable.ts b/legacy-reexport/observable/IfObservable.ts deleted file mode 100644 index 5eb484aadf..0000000000 --- a/legacy-reexport/observable/IfObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/IfObservable'; diff --git a/legacy-reexport/observable/IntervalObservable.ts b/legacy-reexport/observable/IntervalObservable.ts deleted file mode 100644 index dfe181f07e..0000000000 --- a/legacy-reexport/observable/IntervalObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/IntervalObservable'; diff --git a/legacy-reexport/observable/IteratorObservable.ts b/legacy-reexport/observable/IteratorObservable.ts deleted file mode 100644 index 860fbefb6b..0000000000 --- a/legacy-reexport/observable/IteratorObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/IteratorObservable'; diff --git a/legacy-reexport/observable/NeverObservable.ts b/legacy-reexport/observable/NeverObservable.ts deleted file mode 100644 index de440577a7..0000000000 --- a/legacy-reexport/observable/NeverObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/NeverObservable'; diff --git a/legacy-reexport/observable/PairsObservable.ts b/legacy-reexport/observable/PairsObservable.ts deleted file mode 100644 index d0307884b2..0000000000 --- a/legacy-reexport/observable/PairsObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/PairsObservable'; diff --git a/legacy-reexport/observable/PromiseObservable.ts b/legacy-reexport/observable/PromiseObservable.ts deleted file mode 100644 index ae0aac25a8..0000000000 --- a/legacy-reexport/observable/PromiseObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/PromiseObservable'; diff --git a/legacy-reexport/observable/RangeObservable.ts b/legacy-reexport/observable/RangeObservable.ts deleted file mode 100644 index f500c0a99a..0000000000 --- a/legacy-reexport/observable/RangeObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/RangeObservable'; diff --git a/legacy-reexport/observable/ScalarObservable.ts b/legacy-reexport/observable/ScalarObservable.ts deleted file mode 100644 index a353068a62..0000000000 --- a/legacy-reexport/observable/ScalarObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/ScalarObservable'; diff --git a/legacy-reexport/observable/SubscribeOnObservable.ts b/legacy-reexport/observable/SubscribeOnObservable.ts deleted file mode 100644 index 64357278e3..0000000000 --- a/legacy-reexport/observable/SubscribeOnObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/SubscribeOnObservable'; diff --git a/legacy-reexport/observable/TimerObservable.ts b/legacy-reexport/observable/TimerObservable.ts deleted file mode 100644 index 02b4a51331..0000000000 --- a/legacy-reexport/observable/TimerObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/TimerObservable'; diff --git a/legacy-reexport/observable/UsingObservable.ts b/legacy-reexport/observable/UsingObservable.ts deleted file mode 100644 index c24410f9e8..0000000000 --- a/legacy-reexport/observable/UsingObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/UsingObservable'; diff --git a/legacy-reexport/observable/bindCallback.ts b/legacy-reexport/observable/bindCallback.ts deleted file mode 100644 index aab5734dbd..0000000000 --- a/legacy-reexport/observable/bindCallback.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/bindCallback'; diff --git a/legacy-reexport/observable/bindNodeCallback.ts b/legacy-reexport/observable/bindNodeCallback.ts deleted file mode 100644 index d5bfe5d908..0000000000 --- a/legacy-reexport/observable/bindNodeCallback.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/bindNodeCallback'; diff --git a/legacy-reexport/observable/combineLatest.ts b/legacy-reexport/observable/combineLatest.ts deleted file mode 100644 index d4b703304f..0000000000 --- a/legacy-reexport/observable/combineLatest.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/combineLatest'; diff --git a/legacy-reexport/observable/concat.ts b/legacy-reexport/observable/concat.ts deleted file mode 100644 index 673b315e22..0000000000 --- a/legacy-reexport/observable/concat.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/concat'; diff --git a/legacy-reexport/observable/defer.ts b/legacy-reexport/observable/defer.ts deleted file mode 100644 index 1a02f81fc4..0000000000 --- a/legacy-reexport/observable/defer.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/defer'; diff --git a/legacy-reexport/observable/dom/AjaxObservable.ts b/legacy-reexport/observable/dom/AjaxObservable.ts deleted file mode 100644 index 532506008f..0000000000 --- a/legacy-reexport/observable/dom/AjaxObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/dom/AjaxObservable'; \ No newline at end of file diff --git a/legacy-reexport/observable/dom/WebSocketSubject.ts b/legacy-reexport/observable/dom/WebSocketSubject.ts deleted file mode 100644 index fb01a6beb6..0000000000 --- a/legacy-reexport/observable/dom/WebSocketSubject.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/dom/WebSocketSubject'; \ No newline at end of file diff --git a/legacy-reexport/observable/dom/ajax.ts b/legacy-reexport/observable/dom/ajax.ts deleted file mode 100644 index fd13b94081..0000000000 --- a/legacy-reexport/observable/dom/ajax.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/dom/ajax'; \ No newline at end of file diff --git a/legacy-reexport/observable/dom/webSocket.ts b/legacy-reexport/observable/dom/webSocket.ts deleted file mode 100644 index 9656f0f7ab..0000000000 --- a/legacy-reexport/observable/dom/webSocket.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/dom/webSocket'; \ No newline at end of file diff --git a/legacy-reexport/observable/empty.ts b/legacy-reexport/observable/empty.ts deleted file mode 100644 index d7ed9cbaab..0000000000 --- a/legacy-reexport/observable/empty.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/empty'; diff --git a/legacy-reexport/observable/forkJoin.ts b/legacy-reexport/observable/forkJoin.ts deleted file mode 100644 index 3720625de7..0000000000 --- a/legacy-reexport/observable/forkJoin.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/forkJoin'; diff --git a/legacy-reexport/observable/from.ts b/legacy-reexport/observable/from.ts deleted file mode 100644 index 37d2b3adbb..0000000000 --- a/legacy-reexport/observable/from.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/from'; diff --git a/legacy-reexport/observable/fromArray.ts b/legacy-reexport/observable/fromArray.ts deleted file mode 100644 index 97f8377aa6..0000000000 --- a/legacy-reexport/observable/fromArray.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/fromArray'; diff --git a/legacy-reexport/observable/fromEvent.ts b/legacy-reexport/observable/fromEvent.ts deleted file mode 100644 index 0312e3e8d7..0000000000 --- a/legacy-reexport/observable/fromEvent.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/fromEvent'; diff --git a/legacy-reexport/observable/fromEventPattern.ts b/legacy-reexport/observable/fromEventPattern.ts deleted file mode 100644 index 6662550ab2..0000000000 --- a/legacy-reexport/observable/fromEventPattern.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/fromEventPattern'; diff --git a/legacy-reexport/observable/fromIterable.ts b/legacy-reexport/observable/fromIterable.ts deleted file mode 100644 index ee359a269b..0000000000 --- a/legacy-reexport/observable/fromIterable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/fromIterable'; diff --git a/legacy-reexport/observable/fromPromise.ts b/legacy-reexport/observable/fromPromise.ts deleted file mode 100644 index b580adc3c3..0000000000 --- a/legacy-reexport/observable/fromPromise.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/fromPromise'; diff --git a/legacy-reexport/observable/generate.ts b/legacy-reexport/observable/generate.ts deleted file mode 100644 index ad23753b0f..0000000000 --- a/legacy-reexport/observable/generate.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/generate'; diff --git a/legacy-reexport/observable/if.ts b/legacy-reexport/observable/if.ts deleted file mode 100644 index 71a71a4274..0000000000 --- a/legacy-reexport/observable/if.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/if'; diff --git a/legacy-reexport/observable/interval.ts b/legacy-reexport/observable/interval.ts deleted file mode 100644 index 273374ae4e..0000000000 --- a/legacy-reexport/observable/interval.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/interval'; diff --git a/legacy-reexport/observable/merge.ts b/legacy-reexport/observable/merge.ts deleted file mode 100644 index 5cbace99f2..0000000000 --- a/legacy-reexport/observable/merge.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/merge'; diff --git a/legacy-reexport/observable/never.ts b/legacy-reexport/observable/never.ts deleted file mode 100644 index 8d8b24c1e9..0000000000 --- a/legacy-reexport/observable/never.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/never'; diff --git a/legacy-reexport/observable/of.ts b/legacy-reexport/observable/of.ts deleted file mode 100644 index b61ca785f9..0000000000 --- a/legacy-reexport/observable/of.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/of'; diff --git a/legacy-reexport/observable/onErrorResumeNext.ts b/legacy-reexport/observable/onErrorResumeNext.ts deleted file mode 100644 index 8b46336f42..0000000000 --- a/legacy-reexport/observable/onErrorResumeNext.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/onErrorResumeNext'; diff --git a/legacy-reexport/observable/pairs.ts b/legacy-reexport/observable/pairs.ts deleted file mode 100644 index 59ea93eebe..0000000000 --- a/legacy-reexport/observable/pairs.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/pairs'; diff --git a/legacy-reexport/observable/race.ts b/legacy-reexport/observable/race.ts deleted file mode 100644 index 5c05cde5e1..0000000000 --- a/legacy-reexport/observable/race.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/race'; diff --git a/legacy-reexport/observable/range.ts b/legacy-reexport/observable/range.ts deleted file mode 100644 index 297046c93d..0000000000 --- a/legacy-reexport/observable/range.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/range'; diff --git a/legacy-reexport/observable/throw.ts b/legacy-reexport/observable/throw.ts deleted file mode 100644 index 30d43628d5..0000000000 --- a/legacy-reexport/observable/throw.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/throw'; diff --git a/legacy-reexport/observable/timer.ts b/legacy-reexport/observable/timer.ts deleted file mode 100644 index ac3d4847c0..0000000000 --- a/legacy-reexport/observable/timer.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/timer'; diff --git a/legacy-reexport/observable/using.ts b/legacy-reexport/observable/using.ts deleted file mode 100644 index 2a9d0e73e8..0000000000 --- a/legacy-reexport/observable/using.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/using'; diff --git a/legacy-reexport/observable/zip.ts b/legacy-reexport/observable/zip.ts deleted file mode 100644 index 286e2255fb..0000000000 --- a/legacy-reexport/observable/zip.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/observable/zip'; diff --git a/legacy-reexport/operator/audit.ts b/legacy-reexport/operator/audit.ts deleted file mode 100644 index f99039c05e..0000000000 --- a/legacy-reexport/operator/audit.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/audit'; diff --git a/legacy-reexport/operator/auditTime.ts b/legacy-reexport/operator/auditTime.ts deleted file mode 100644 index 16dcc218e4..0000000000 --- a/legacy-reexport/operator/auditTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/auditTime'; diff --git a/legacy-reexport/operator/buffer.ts b/legacy-reexport/operator/buffer.ts deleted file mode 100644 index ae0e349507..0000000000 --- a/legacy-reexport/operator/buffer.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/buffer'; diff --git a/legacy-reexport/operator/bufferCount.ts b/legacy-reexport/operator/bufferCount.ts deleted file mode 100644 index 9883c5879a..0000000000 --- a/legacy-reexport/operator/bufferCount.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/bufferCount'; diff --git a/legacy-reexport/operator/bufferTime.ts b/legacy-reexport/operator/bufferTime.ts deleted file mode 100644 index 74845b4821..0000000000 --- a/legacy-reexport/operator/bufferTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/bufferTime'; diff --git a/legacy-reexport/operator/bufferToggle.ts b/legacy-reexport/operator/bufferToggle.ts deleted file mode 100644 index 3a3ccff971..0000000000 --- a/legacy-reexport/operator/bufferToggle.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/bufferToggle'; diff --git a/legacy-reexport/operator/bufferWhen.ts b/legacy-reexport/operator/bufferWhen.ts deleted file mode 100644 index f394a588a3..0000000000 --- a/legacy-reexport/operator/bufferWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/bufferWhen'; diff --git a/legacy-reexport/operator/catch.ts b/legacy-reexport/operator/catch.ts deleted file mode 100644 index 39c2412dd6..0000000000 --- a/legacy-reexport/operator/catch.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/catch'; diff --git a/legacy-reexport/operator/combineAll.ts b/legacy-reexport/operator/combineAll.ts deleted file mode 100644 index 47ead4aeba..0000000000 --- a/legacy-reexport/operator/combineAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/combineAll'; diff --git a/legacy-reexport/operator/combineLatest.ts b/legacy-reexport/operator/combineLatest.ts deleted file mode 100644 index 571979687d..0000000000 --- a/legacy-reexport/operator/combineLatest.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/combineLatest'; diff --git a/legacy-reexport/operator/concat.ts b/legacy-reexport/operator/concat.ts deleted file mode 100644 index 7937d7ab60..0000000000 --- a/legacy-reexport/operator/concat.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/concat'; diff --git a/legacy-reexport/operator/concatAll.ts b/legacy-reexport/operator/concatAll.ts deleted file mode 100644 index ac3f202772..0000000000 --- a/legacy-reexport/operator/concatAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/concatAll'; diff --git a/legacy-reexport/operator/concatMap.ts b/legacy-reexport/operator/concatMap.ts deleted file mode 100644 index 96cf01fbb1..0000000000 --- a/legacy-reexport/operator/concatMap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/concatMap'; diff --git a/legacy-reexport/operator/concatMapTo.ts b/legacy-reexport/operator/concatMapTo.ts deleted file mode 100644 index ccc3cd50c5..0000000000 --- a/legacy-reexport/operator/concatMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/concatMapTo'; diff --git a/legacy-reexport/operator/count.ts b/legacy-reexport/operator/count.ts deleted file mode 100644 index d9b4699b95..0000000000 --- a/legacy-reexport/operator/count.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/count'; diff --git a/legacy-reexport/operator/debounce.ts b/legacy-reexport/operator/debounce.ts deleted file mode 100644 index 69fffd92d8..0000000000 --- a/legacy-reexport/operator/debounce.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/debounce'; diff --git a/legacy-reexport/operator/debounceTime.ts b/legacy-reexport/operator/debounceTime.ts deleted file mode 100644 index 5e51c65e39..0000000000 --- a/legacy-reexport/operator/debounceTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/debounceTime'; diff --git a/legacy-reexport/operator/defaultIfEmpty.ts b/legacy-reexport/operator/defaultIfEmpty.ts deleted file mode 100644 index 6f5c62080b..0000000000 --- a/legacy-reexport/operator/defaultIfEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/defaultIfEmpty'; diff --git a/legacy-reexport/operator/delay.ts b/legacy-reexport/operator/delay.ts deleted file mode 100644 index 823ded335c..0000000000 --- a/legacy-reexport/operator/delay.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/delay'; diff --git a/legacy-reexport/operator/delayWhen.ts b/legacy-reexport/operator/delayWhen.ts deleted file mode 100644 index b28322ad26..0000000000 --- a/legacy-reexport/operator/delayWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/delayWhen'; diff --git a/legacy-reexport/operator/dematerialize.ts b/legacy-reexport/operator/dematerialize.ts deleted file mode 100644 index 83f8da9d16..0000000000 --- a/legacy-reexport/operator/dematerialize.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/dematerialize'; diff --git a/legacy-reexport/operator/distinct.ts b/legacy-reexport/operator/distinct.ts deleted file mode 100644 index b97b8ee90c..0000000000 --- a/legacy-reexport/operator/distinct.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/distinct'; diff --git a/legacy-reexport/operator/distinctUntilChanged.ts b/legacy-reexport/operator/distinctUntilChanged.ts deleted file mode 100644 index 3a5bbc329b..0000000000 --- a/legacy-reexport/operator/distinctUntilChanged.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/distinctUntilChanged'; diff --git a/legacy-reexport/operator/distinctUntilKeyChanged.ts b/legacy-reexport/operator/distinctUntilKeyChanged.ts deleted file mode 100644 index 22d42b1fd0..0000000000 --- a/legacy-reexport/operator/distinctUntilKeyChanged.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/distinctUntilKeyChanged'; diff --git a/legacy-reexport/operator/do.ts b/legacy-reexport/operator/do.ts deleted file mode 100644 index 3b3a79b6bf..0000000000 --- a/legacy-reexport/operator/do.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/do'; diff --git a/legacy-reexport/operator/elementAt.ts b/legacy-reexport/operator/elementAt.ts deleted file mode 100644 index bcdf7982b7..0000000000 --- a/legacy-reexport/operator/elementAt.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/elementAt'; diff --git a/legacy-reexport/operator/every.ts b/legacy-reexport/operator/every.ts deleted file mode 100644 index af7e790e20..0000000000 --- a/legacy-reexport/operator/every.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/every'; diff --git a/legacy-reexport/operator/exhaust.ts b/legacy-reexport/operator/exhaust.ts deleted file mode 100644 index 7af3d2f2e4..0000000000 --- a/legacy-reexport/operator/exhaust.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/exhaust'; diff --git a/legacy-reexport/operator/exhaustMap.ts b/legacy-reexport/operator/exhaustMap.ts deleted file mode 100644 index 822438aada..0000000000 --- a/legacy-reexport/operator/exhaustMap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/exhaustMap'; diff --git a/legacy-reexport/operator/expand.ts b/legacy-reexport/operator/expand.ts deleted file mode 100644 index 11df701674..0000000000 --- a/legacy-reexport/operator/expand.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/expand'; diff --git a/legacy-reexport/operator/filter.ts b/legacy-reexport/operator/filter.ts deleted file mode 100644 index ccc2f24590..0000000000 --- a/legacy-reexport/operator/filter.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/filter'; diff --git a/legacy-reexport/operator/finally.ts b/legacy-reexport/operator/finally.ts deleted file mode 100644 index a21b3e1b1e..0000000000 --- a/legacy-reexport/operator/finally.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/finally'; diff --git a/legacy-reexport/operator/find.ts b/legacy-reexport/operator/find.ts deleted file mode 100644 index face44bcc0..0000000000 --- a/legacy-reexport/operator/find.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/find'; diff --git a/legacy-reexport/operator/findIndex.ts b/legacy-reexport/operator/findIndex.ts deleted file mode 100644 index dd0297a0d2..0000000000 --- a/legacy-reexport/operator/findIndex.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/findIndex'; diff --git a/legacy-reexport/operator/first.ts b/legacy-reexport/operator/first.ts deleted file mode 100644 index 86843ed3a4..0000000000 --- a/legacy-reexport/operator/first.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/first'; diff --git a/legacy-reexport/operator/groupBy.ts b/legacy-reexport/operator/groupBy.ts deleted file mode 100644 index 648fac91ab..0000000000 --- a/legacy-reexport/operator/groupBy.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/groupBy'; diff --git a/legacy-reexport/operator/ignoreElements.ts b/legacy-reexport/operator/ignoreElements.ts deleted file mode 100644 index b9c3eef08c..0000000000 --- a/legacy-reexport/operator/ignoreElements.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/ignoreElements'; diff --git a/legacy-reexport/operator/isEmpty.ts b/legacy-reexport/operator/isEmpty.ts deleted file mode 100644 index 03da532a50..0000000000 --- a/legacy-reexport/operator/isEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/isEmpty'; diff --git a/legacy-reexport/operator/last.ts b/legacy-reexport/operator/last.ts deleted file mode 100644 index 2d42da81d2..0000000000 --- a/legacy-reexport/operator/last.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/last'; diff --git a/legacy-reexport/operator/let.ts b/legacy-reexport/operator/let.ts deleted file mode 100644 index 0f25011427..0000000000 --- a/legacy-reexport/operator/let.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/let'; diff --git a/legacy-reexport/operator/map.ts b/legacy-reexport/operator/map.ts deleted file mode 100644 index 00af2a0bef..0000000000 --- a/legacy-reexport/operator/map.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/map'; diff --git a/legacy-reexport/operator/mapTo.ts b/legacy-reexport/operator/mapTo.ts deleted file mode 100644 index ad51274378..0000000000 --- a/legacy-reexport/operator/mapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/mapTo'; diff --git a/legacy-reexport/operator/materialize.ts b/legacy-reexport/operator/materialize.ts deleted file mode 100644 index 57d501d61f..0000000000 --- a/legacy-reexport/operator/materialize.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/materialize'; diff --git a/legacy-reexport/operator/max.ts b/legacy-reexport/operator/max.ts deleted file mode 100644 index e7efcd7d5b..0000000000 --- a/legacy-reexport/operator/max.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/max'; diff --git a/legacy-reexport/operator/merge.ts b/legacy-reexport/operator/merge.ts deleted file mode 100644 index 039a0d2fe8..0000000000 --- a/legacy-reexport/operator/merge.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/merge'; diff --git a/legacy-reexport/operator/mergeAll.ts b/legacy-reexport/operator/mergeAll.ts deleted file mode 100644 index 1527cc9ef1..0000000000 --- a/legacy-reexport/operator/mergeAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/mergeAll'; diff --git a/legacy-reexport/operator/mergeMap.ts b/legacy-reexport/operator/mergeMap.ts deleted file mode 100644 index d091762aaa..0000000000 --- a/legacy-reexport/operator/mergeMap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/mergeMap'; diff --git a/legacy-reexport/operator/mergeMapTo.ts b/legacy-reexport/operator/mergeMapTo.ts deleted file mode 100644 index 2503ab43ed..0000000000 --- a/legacy-reexport/operator/mergeMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/mergeMapTo'; diff --git a/legacy-reexport/operator/mergeScan.ts b/legacy-reexport/operator/mergeScan.ts deleted file mode 100644 index f8fd1be494..0000000000 --- a/legacy-reexport/operator/mergeScan.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/mergeScan'; diff --git a/legacy-reexport/operator/min.ts b/legacy-reexport/operator/min.ts deleted file mode 100644 index b082666814..0000000000 --- a/legacy-reexport/operator/min.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/min'; diff --git a/legacy-reexport/operator/multicast.ts b/legacy-reexport/operator/multicast.ts deleted file mode 100644 index 16822ab8a2..0000000000 --- a/legacy-reexport/operator/multicast.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/multicast'; diff --git a/legacy-reexport/operator/observeOn.ts b/legacy-reexport/operator/observeOn.ts deleted file mode 100644 index 49d52cf57b..0000000000 --- a/legacy-reexport/operator/observeOn.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/observeOn'; diff --git a/legacy-reexport/operator/onErrorResumeNext.ts b/legacy-reexport/operator/onErrorResumeNext.ts deleted file mode 100644 index dee5c58e32..0000000000 --- a/legacy-reexport/operator/onErrorResumeNext.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/onErrorResumeNext'; diff --git a/legacy-reexport/operator/pairwise.ts b/legacy-reexport/operator/pairwise.ts deleted file mode 100644 index 2db66e0928..0000000000 --- a/legacy-reexport/operator/pairwise.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/pairwise'; diff --git a/legacy-reexport/operator/partition.ts b/legacy-reexport/operator/partition.ts deleted file mode 100644 index ffb693b8bc..0000000000 --- a/legacy-reexport/operator/partition.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/partition'; diff --git a/legacy-reexport/operator/pluck.ts b/legacy-reexport/operator/pluck.ts deleted file mode 100644 index cd308f266f..0000000000 --- a/legacy-reexport/operator/pluck.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/pluck'; diff --git a/legacy-reexport/operator/publish.ts b/legacy-reexport/operator/publish.ts deleted file mode 100644 index 44f7a522ad..0000000000 --- a/legacy-reexport/operator/publish.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/publish'; diff --git a/legacy-reexport/operator/publishBehavior.ts b/legacy-reexport/operator/publishBehavior.ts deleted file mode 100644 index ae6df513f8..0000000000 --- a/legacy-reexport/operator/publishBehavior.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/publishBehavior'; diff --git a/legacy-reexport/operator/publishLast.ts b/legacy-reexport/operator/publishLast.ts deleted file mode 100644 index b8b857f6b1..0000000000 --- a/legacy-reexport/operator/publishLast.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/publishLast'; diff --git a/legacy-reexport/operator/publishReplay.ts b/legacy-reexport/operator/publishReplay.ts deleted file mode 100644 index d515665a28..0000000000 --- a/legacy-reexport/operator/publishReplay.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/publishReplay'; diff --git a/legacy-reexport/operator/race.ts b/legacy-reexport/operator/race.ts deleted file mode 100644 index 1371230263..0000000000 --- a/legacy-reexport/operator/race.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/race'; diff --git a/legacy-reexport/operator/reduce.ts b/legacy-reexport/operator/reduce.ts deleted file mode 100644 index 3051a597bc..0000000000 --- a/legacy-reexport/operator/reduce.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/reduce'; diff --git a/legacy-reexport/operator/repeat.ts b/legacy-reexport/operator/repeat.ts deleted file mode 100644 index 3cf8344c36..0000000000 --- a/legacy-reexport/operator/repeat.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/repeat'; diff --git a/legacy-reexport/operator/repeatWhen.ts b/legacy-reexport/operator/repeatWhen.ts deleted file mode 100644 index c8ab4033f3..0000000000 --- a/legacy-reexport/operator/repeatWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/repeatWhen'; diff --git a/legacy-reexport/operator/retry.ts b/legacy-reexport/operator/retry.ts deleted file mode 100644 index ea76932742..0000000000 --- a/legacy-reexport/operator/retry.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/retry'; diff --git a/legacy-reexport/operator/retryWhen.ts b/legacy-reexport/operator/retryWhen.ts deleted file mode 100644 index c1c4a4d138..0000000000 --- a/legacy-reexport/operator/retryWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/retryWhen'; diff --git a/legacy-reexport/operator/sample.ts b/legacy-reexport/operator/sample.ts deleted file mode 100644 index 50c44856fc..0000000000 --- a/legacy-reexport/operator/sample.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/sample'; diff --git a/legacy-reexport/operator/sampleTime.ts b/legacy-reexport/operator/sampleTime.ts deleted file mode 100644 index 6a88266e5b..0000000000 --- a/legacy-reexport/operator/sampleTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/sampleTime'; diff --git a/legacy-reexport/operator/scan.ts b/legacy-reexport/operator/scan.ts deleted file mode 100644 index 07d5f63aae..0000000000 --- a/legacy-reexport/operator/scan.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/scan'; diff --git a/legacy-reexport/operator/sequenceEqual.ts b/legacy-reexport/operator/sequenceEqual.ts deleted file mode 100644 index 8a324c2889..0000000000 --- a/legacy-reexport/operator/sequenceEqual.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/sequenceEqual'; diff --git a/legacy-reexport/operator/share.ts b/legacy-reexport/operator/share.ts deleted file mode 100644 index 7dcde39457..0000000000 --- a/legacy-reexport/operator/share.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/share'; diff --git a/legacy-reexport/operator/shareReplay.ts b/legacy-reexport/operator/shareReplay.ts deleted file mode 100644 index 78890293d6..0000000000 --- a/legacy-reexport/operator/shareReplay.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/shareReplay'; diff --git a/legacy-reexport/operator/single.ts b/legacy-reexport/operator/single.ts deleted file mode 100644 index 0b289da156..0000000000 --- a/legacy-reexport/operator/single.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/single'; diff --git a/legacy-reexport/operator/skip.ts b/legacy-reexport/operator/skip.ts deleted file mode 100644 index 830890c2d0..0000000000 --- a/legacy-reexport/operator/skip.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/skip'; diff --git a/legacy-reexport/operator/skipLast.ts b/legacy-reexport/operator/skipLast.ts deleted file mode 100644 index 504d7d70ca..0000000000 --- a/legacy-reexport/operator/skipLast.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/skipLast'; diff --git a/legacy-reexport/operator/skipUntil.ts b/legacy-reexport/operator/skipUntil.ts deleted file mode 100644 index c942abc30d..0000000000 --- a/legacy-reexport/operator/skipUntil.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/skipUntil'; diff --git a/legacy-reexport/operator/skipWhile.ts b/legacy-reexport/operator/skipWhile.ts deleted file mode 100644 index 1ec1baffb3..0000000000 --- a/legacy-reexport/operator/skipWhile.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/skipWhile'; diff --git a/legacy-reexport/operator/startWith.ts b/legacy-reexport/operator/startWith.ts deleted file mode 100644 index 88b22fb822..0000000000 --- a/legacy-reexport/operator/startWith.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/startWith'; diff --git a/legacy-reexport/operator/subscribeOn.ts b/legacy-reexport/operator/subscribeOn.ts deleted file mode 100644 index d5fe5c3b24..0000000000 --- a/legacy-reexport/operator/subscribeOn.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/subscribeOn'; diff --git a/legacy-reexport/operator/switch.ts b/legacy-reexport/operator/switch.ts deleted file mode 100644 index 2cbae8fa2a..0000000000 --- a/legacy-reexport/operator/switch.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/switch'; diff --git a/legacy-reexport/operator/switchMap.ts b/legacy-reexport/operator/switchMap.ts deleted file mode 100644 index cd5ce95f4e..0000000000 --- a/legacy-reexport/operator/switchMap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/switchMap'; diff --git a/legacy-reexport/operator/switchMapTo.ts b/legacy-reexport/operator/switchMapTo.ts deleted file mode 100644 index bd59ce370b..0000000000 --- a/legacy-reexport/operator/switchMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/switchMapTo'; diff --git a/legacy-reexport/operator/take.ts b/legacy-reexport/operator/take.ts deleted file mode 100644 index c915fc3c4f..0000000000 --- a/legacy-reexport/operator/take.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/take'; diff --git a/legacy-reexport/operator/takeLast.ts b/legacy-reexport/operator/takeLast.ts deleted file mode 100644 index 78509e54dc..0000000000 --- a/legacy-reexport/operator/takeLast.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/takeLast'; diff --git a/legacy-reexport/operator/takeUntil.ts b/legacy-reexport/operator/takeUntil.ts deleted file mode 100644 index 38b927b577..0000000000 --- a/legacy-reexport/operator/takeUntil.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/takeUntil'; diff --git a/legacy-reexport/operator/takeWhile.ts b/legacy-reexport/operator/takeWhile.ts deleted file mode 100644 index b1772bd877..0000000000 --- a/legacy-reexport/operator/takeWhile.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/takeWhile'; diff --git a/legacy-reexport/operator/throttle.ts b/legacy-reexport/operator/throttle.ts deleted file mode 100644 index 9c2effcbbd..0000000000 --- a/legacy-reexport/operator/throttle.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/throttle'; diff --git a/legacy-reexport/operator/throttleTime.ts b/legacy-reexport/operator/throttleTime.ts deleted file mode 100644 index 7385eb0863..0000000000 --- a/legacy-reexport/operator/throttleTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/throttleTime'; diff --git a/legacy-reexport/operator/timeInterval.ts b/legacy-reexport/operator/timeInterval.ts deleted file mode 100644 index 5f5283bb95..0000000000 --- a/legacy-reexport/operator/timeInterval.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/timeInterval'; diff --git a/legacy-reexport/operator/timeout.ts b/legacy-reexport/operator/timeout.ts deleted file mode 100644 index 56e0cc333d..0000000000 --- a/legacy-reexport/operator/timeout.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/timeout'; diff --git a/legacy-reexport/operator/timeoutWith.ts b/legacy-reexport/operator/timeoutWith.ts deleted file mode 100644 index e746c05bfd..0000000000 --- a/legacy-reexport/operator/timeoutWith.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/timeoutWith'; diff --git a/legacy-reexport/operator/timestamp.ts b/legacy-reexport/operator/timestamp.ts deleted file mode 100644 index 77a94e82ac..0000000000 --- a/legacy-reexport/operator/timestamp.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/timestamp'; diff --git a/legacy-reexport/operator/toArray.ts b/legacy-reexport/operator/toArray.ts deleted file mode 100644 index 57c8ee175e..0000000000 --- a/legacy-reexport/operator/toArray.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/toArray'; diff --git a/legacy-reexport/operator/toPromise.ts b/legacy-reexport/operator/toPromise.ts deleted file mode 100644 index b9f8cae2b4..0000000000 --- a/legacy-reexport/operator/toPromise.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/toPromise'; diff --git a/legacy-reexport/operator/window.ts b/legacy-reexport/operator/window.ts deleted file mode 100644 index 937f17467a..0000000000 --- a/legacy-reexport/operator/window.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/window'; diff --git a/legacy-reexport/operator/windowCount.ts b/legacy-reexport/operator/windowCount.ts deleted file mode 100644 index 87392c7c1b..0000000000 --- a/legacy-reexport/operator/windowCount.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/windowCount'; diff --git a/legacy-reexport/operator/windowTime.ts b/legacy-reexport/operator/windowTime.ts deleted file mode 100644 index 52798df467..0000000000 --- a/legacy-reexport/operator/windowTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/windowTime'; diff --git a/legacy-reexport/operator/windowToggle.ts b/legacy-reexport/operator/windowToggle.ts deleted file mode 100644 index c2d8b4e263..0000000000 --- a/legacy-reexport/operator/windowToggle.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/windowToggle'; diff --git a/legacy-reexport/operator/windowWhen.ts b/legacy-reexport/operator/windowWhen.ts deleted file mode 100644 index 1d4e2eface..0000000000 --- a/legacy-reexport/operator/windowWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/windowWhen'; diff --git a/legacy-reexport/operator/withLatestFrom.ts b/legacy-reexport/operator/withLatestFrom.ts deleted file mode 100644 index b31197a32f..0000000000 --- a/legacy-reexport/operator/withLatestFrom.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/withLatestFrom'; diff --git a/legacy-reexport/operator/zip.ts b/legacy-reexport/operator/zip.ts deleted file mode 100644 index 25eea262a2..0000000000 --- a/legacy-reexport/operator/zip.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/zip'; diff --git a/legacy-reexport/operator/zipAll.ts b/legacy-reexport/operator/zipAll.ts deleted file mode 100644 index 1098d9de75..0000000000 --- a/legacy-reexport/operator/zipAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operator/zipAll'; diff --git a/legacy-reexport/operators/audit.ts b/legacy-reexport/operators/audit.ts deleted file mode 100644 index 0e5b597d0e..0000000000 --- a/legacy-reexport/operators/audit.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/audit'; diff --git a/legacy-reexport/operators/auditTime.ts b/legacy-reexport/operators/auditTime.ts deleted file mode 100644 index 72a4c00034..0000000000 --- a/legacy-reexport/operators/auditTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/auditTime'; diff --git a/legacy-reexport/operators/buffer.ts b/legacy-reexport/operators/buffer.ts deleted file mode 100644 index 7007461e74..0000000000 --- a/legacy-reexport/operators/buffer.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/buffer'; diff --git a/legacy-reexport/operators/bufferCount.ts b/legacy-reexport/operators/bufferCount.ts deleted file mode 100644 index 767b33c03f..0000000000 --- a/legacy-reexport/operators/bufferCount.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/bufferCount'; diff --git a/legacy-reexport/operators/bufferTime.ts b/legacy-reexport/operators/bufferTime.ts deleted file mode 100644 index 085acfb968..0000000000 --- a/legacy-reexport/operators/bufferTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/bufferTime'; diff --git a/legacy-reexport/operators/bufferToggle.ts b/legacy-reexport/operators/bufferToggle.ts deleted file mode 100644 index f554f73168..0000000000 --- a/legacy-reexport/operators/bufferToggle.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/bufferToggle'; diff --git a/legacy-reexport/operators/bufferWhen.ts b/legacy-reexport/operators/bufferWhen.ts deleted file mode 100644 index 7e0b79f1de..0000000000 --- a/legacy-reexport/operators/bufferWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/bufferWhen'; diff --git a/legacy-reexport/operators/catchError.ts b/legacy-reexport/operators/catchError.ts deleted file mode 100644 index 4ea9351459..0000000000 --- a/legacy-reexport/operators/catchError.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/catchError'; diff --git a/legacy-reexport/operators/combineAll.ts b/legacy-reexport/operators/combineAll.ts deleted file mode 100644 index 13f2758a20..0000000000 --- a/legacy-reexport/operators/combineAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/combineAll'; diff --git a/legacy-reexport/operators/combineLatest.ts b/legacy-reexport/operators/combineLatest.ts deleted file mode 100644 index cefd4d0756..0000000000 --- a/legacy-reexport/operators/combineLatest.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/combineLatest'; diff --git a/legacy-reexport/operators/concat.ts b/legacy-reexport/operators/concat.ts deleted file mode 100644 index d2b7050940..0000000000 --- a/legacy-reexport/operators/concat.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/concat'; \ No newline at end of file diff --git a/legacy-reexport/operators/concatAll.ts b/legacy-reexport/operators/concatAll.ts deleted file mode 100644 index 4e90bf3a26..0000000000 --- a/legacy-reexport/operators/concatAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/concatAll'; diff --git a/legacy-reexport/operators/concatMap.ts b/legacy-reexport/operators/concatMap.ts deleted file mode 100644 index fb26bc0c29..0000000000 --- a/legacy-reexport/operators/concatMap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/concatMap'; diff --git a/legacy-reexport/operators/concatMapTo.ts b/legacy-reexport/operators/concatMapTo.ts deleted file mode 100644 index f5aef4099b..0000000000 --- a/legacy-reexport/operators/concatMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/concatMapTo'; diff --git a/legacy-reexport/operators/count.ts b/legacy-reexport/operators/count.ts deleted file mode 100644 index db7cfe3d9d..0000000000 --- a/legacy-reexport/operators/count.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/count'; diff --git a/legacy-reexport/operators/debounce.ts b/legacy-reexport/operators/debounce.ts deleted file mode 100644 index ed62cb8b3c..0000000000 --- a/legacy-reexport/operators/debounce.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/debounce'; diff --git a/legacy-reexport/operators/debounceTime.ts b/legacy-reexport/operators/debounceTime.ts deleted file mode 100644 index fb73d334b5..0000000000 --- a/legacy-reexport/operators/debounceTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/debounceTime'; diff --git a/legacy-reexport/operators/defaultIfEmpty.ts b/legacy-reexport/operators/defaultIfEmpty.ts deleted file mode 100644 index 04b9e612cf..0000000000 --- a/legacy-reexport/operators/defaultIfEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/defaultIfEmpty'; diff --git a/legacy-reexport/operators/delay.ts b/legacy-reexport/operators/delay.ts deleted file mode 100644 index d34f33d255..0000000000 --- a/legacy-reexport/operators/delay.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/delay'; diff --git a/legacy-reexport/operators/delayWhen.ts b/legacy-reexport/operators/delayWhen.ts deleted file mode 100644 index 4de1452900..0000000000 --- a/legacy-reexport/operators/delayWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/delayWhen'; diff --git a/legacy-reexport/operators/dematerialize.ts b/legacy-reexport/operators/dematerialize.ts deleted file mode 100644 index a689bf08f9..0000000000 --- a/legacy-reexport/operators/dematerialize.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/dematerialize'; diff --git a/legacy-reexport/operators/distinct.ts b/legacy-reexport/operators/distinct.ts deleted file mode 100644 index 9d8288a4fc..0000000000 --- a/legacy-reexport/operators/distinct.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/distinct'; diff --git a/legacy-reexport/operators/distinctUntilChanged.ts b/legacy-reexport/operators/distinctUntilChanged.ts deleted file mode 100644 index 1fc4eda810..0000000000 --- a/legacy-reexport/operators/distinctUntilChanged.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/distinctUntilChanged'; diff --git a/legacy-reexport/operators/distinctUntilKeyChanged.ts b/legacy-reexport/operators/distinctUntilKeyChanged.ts deleted file mode 100644 index d8fa76ae1b..0000000000 --- a/legacy-reexport/operators/distinctUntilKeyChanged.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/distinctUntilKeyChanged'; diff --git a/legacy-reexport/operators/elementAt.ts b/legacy-reexport/operators/elementAt.ts deleted file mode 100644 index 4f5d5b3756..0000000000 --- a/legacy-reexport/operators/elementAt.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/elementAt'; diff --git a/legacy-reexport/operators/every.ts b/legacy-reexport/operators/every.ts deleted file mode 100644 index 15b9f46f7f..0000000000 --- a/legacy-reexport/operators/every.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/every'; diff --git a/legacy-reexport/operators/exhaust.ts b/legacy-reexport/operators/exhaust.ts deleted file mode 100644 index 19a3637cfb..0000000000 --- a/legacy-reexport/operators/exhaust.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/exhaust'; diff --git a/legacy-reexport/operators/exhaustMap.ts b/legacy-reexport/operators/exhaustMap.ts deleted file mode 100644 index cf4ae30bed..0000000000 --- a/legacy-reexport/operators/exhaustMap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/exhaustMap'; diff --git a/legacy-reexport/operators/expand.ts b/legacy-reexport/operators/expand.ts deleted file mode 100644 index 0cef04ce50..0000000000 --- a/legacy-reexport/operators/expand.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/expand'; diff --git a/legacy-reexport/operators/filter.ts b/legacy-reexport/operators/filter.ts deleted file mode 100644 index 23b8666dd9..0000000000 --- a/legacy-reexport/operators/filter.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/filter'; diff --git a/legacy-reexport/operators/finalize.ts b/legacy-reexport/operators/finalize.ts deleted file mode 100644 index 9c32dfcf57..0000000000 --- a/legacy-reexport/operators/finalize.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/finalize'; diff --git a/legacy-reexport/operators/find.ts b/legacy-reexport/operators/find.ts deleted file mode 100644 index 98a272d7e0..0000000000 --- a/legacy-reexport/operators/find.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/find'; diff --git a/legacy-reexport/operators/findIndex.ts b/legacy-reexport/operators/findIndex.ts deleted file mode 100644 index 167707fb84..0000000000 --- a/legacy-reexport/operators/findIndex.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/findIndex'; diff --git a/legacy-reexport/operators/first.ts b/legacy-reexport/operators/first.ts deleted file mode 100644 index c0266e31e9..0000000000 --- a/legacy-reexport/operators/first.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/first'; diff --git a/legacy-reexport/operators/groupBy.ts b/legacy-reexport/operators/groupBy.ts deleted file mode 100644 index 52c6f58474..0000000000 --- a/legacy-reexport/operators/groupBy.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/groupBy'; diff --git a/legacy-reexport/operators/ignoreElements.ts b/legacy-reexport/operators/ignoreElements.ts deleted file mode 100644 index 590bf883df..0000000000 --- a/legacy-reexport/operators/ignoreElements.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/ignoreElements'; diff --git a/legacy-reexport/operators/isEmpty.ts b/legacy-reexport/operators/isEmpty.ts deleted file mode 100644 index fd1d1afc02..0000000000 --- a/legacy-reexport/operators/isEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/isEmpty'; diff --git a/legacy-reexport/operators/last.ts b/legacy-reexport/operators/last.ts deleted file mode 100644 index c8464bf4c2..0000000000 --- a/legacy-reexport/operators/last.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/last'; diff --git a/legacy-reexport/operators/map.ts b/legacy-reexport/operators/map.ts deleted file mode 100644 index 7e8cb1f837..0000000000 --- a/legacy-reexport/operators/map.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/map'; diff --git a/legacy-reexport/operators/mapTo.ts b/legacy-reexport/operators/mapTo.ts deleted file mode 100644 index 72b4d9e5c3..0000000000 --- a/legacy-reexport/operators/mapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/mapTo'; diff --git a/legacy-reexport/operators/materialize.ts b/legacy-reexport/operators/materialize.ts deleted file mode 100644 index e050f1e764..0000000000 --- a/legacy-reexport/operators/materialize.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/materialize'; diff --git a/legacy-reexport/operators/max.ts b/legacy-reexport/operators/max.ts deleted file mode 100644 index 044da470dd..0000000000 --- a/legacy-reexport/operators/max.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/max'; diff --git a/legacy-reexport/operators/merge.ts b/legacy-reexport/operators/merge.ts deleted file mode 100644 index 7d9f674d48..0000000000 --- a/legacy-reexport/operators/merge.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/merge'; \ No newline at end of file diff --git a/legacy-reexport/operators/mergeAll.ts b/legacy-reexport/operators/mergeAll.ts deleted file mode 100644 index b5c5b38f84..0000000000 --- a/legacy-reexport/operators/mergeAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/mergeAll'; diff --git a/legacy-reexport/operators/mergeMap.ts b/legacy-reexport/operators/mergeMap.ts deleted file mode 100644 index af5c7c153b..0000000000 --- a/legacy-reexport/operators/mergeMap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/mergeMap'; diff --git a/legacy-reexport/operators/mergeMapTo.ts b/legacy-reexport/operators/mergeMapTo.ts deleted file mode 100644 index 67b6cb7bd4..0000000000 --- a/legacy-reexport/operators/mergeMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/mergeMapTo'; diff --git a/legacy-reexport/operators/mergeScan.ts b/legacy-reexport/operators/mergeScan.ts deleted file mode 100644 index ef73adcb71..0000000000 --- a/legacy-reexport/operators/mergeScan.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/mergeScan'; diff --git a/legacy-reexport/operators/min.ts b/legacy-reexport/operators/min.ts deleted file mode 100644 index 3706e3fc50..0000000000 --- a/legacy-reexport/operators/min.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/min'; diff --git a/legacy-reexport/operators/multicast.ts b/legacy-reexport/operators/multicast.ts deleted file mode 100644 index 94702843b7..0000000000 --- a/legacy-reexport/operators/multicast.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/multicast'; diff --git a/legacy-reexport/operators/observeOn.ts b/legacy-reexport/operators/observeOn.ts deleted file mode 100644 index 0f6d414013..0000000000 --- a/legacy-reexport/operators/observeOn.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/observeOn'; diff --git a/legacy-reexport/operators/onErrorResumeNext.ts b/legacy-reexport/operators/onErrorResumeNext.ts deleted file mode 100644 index 0b19815c0e..0000000000 --- a/legacy-reexport/operators/onErrorResumeNext.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/onErrorResumeNext'; diff --git a/legacy-reexport/operators/pairwise.ts b/legacy-reexport/operators/pairwise.ts deleted file mode 100644 index f83f7320c2..0000000000 --- a/legacy-reexport/operators/pairwise.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/pairwise'; diff --git a/legacy-reexport/operators/partition.ts b/legacy-reexport/operators/partition.ts deleted file mode 100644 index 3c8284345f..0000000000 --- a/legacy-reexport/operators/partition.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/partition'; diff --git a/legacy-reexport/operators/pluck.ts b/legacy-reexport/operators/pluck.ts deleted file mode 100644 index 2ac910af68..0000000000 --- a/legacy-reexport/operators/pluck.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/pluck'; diff --git a/legacy-reexport/operators/publish.ts b/legacy-reexport/operators/publish.ts deleted file mode 100644 index a21951d7a2..0000000000 --- a/legacy-reexport/operators/publish.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/publish'; diff --git a/legacy-reexport/operators/publishBehavior.ts b/legacy-reexport/operators/publishBehavior.ts deleted file mode 100644 index 53cbc378aa..0000000000 --- a/legacy-reexport/operators/publishBehavior.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/publishBehavior'; diff --git a/legacy-reexport/operators/publishLast.ts b/legacy-reexport/operators/publishLast.ts deleted file mode 100644 index 0fcb439984..0000000000 --- a/legacy-reexport/operators/publishLast.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/publishLast'; diff --git a/legacy-reexport/operators/publishReplay.ts b/legacy-reexport/operators/publishReplay.ts deleted file mode 100644 index ff87a2d8a6..0000000000 --- a/legacy-reexport/operators/publishReplay.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/publishReplay'; diff --git a/legacy-reexport/operators/race.ts b/legacy-reexport/operators/race.ts deleted file mode 100644 index 95047c74db..0000000000 --- a/legacy-reexport/operators/race.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/race'; diff --git a/legacy-reexport/operators/reduce.ts b/legacy-reexport/operators/reduce.ts deleted file mode 100644 index abb05c3ed7..0000000000 --- a/legacy-reexport/operators/reduce.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/reduce'; diff --git a/legacy-reexport/operators/refCount.ts b/legacy-reexport/operators/refCount.ts deleted file mode 100644 index 3c38baa151..0000000000 --- a/legacy-reexport/operators/refCount.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/refCount'; diff --git a/legacy-reexport/operators/repeat.ts b/legacy-reexport/operators/repeat.ts deleted file mode 100644 index 1f36353630..0000000000 --- a/legacy-reexport/operators/repeat.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/repeat'; diff --git a/legacy-reexport/operators/repeatWhen.ts b/legacy-reexport/operators/repeatWhen.ts deleted file mode 100644 index df052ac0a6..0000000000 --- a/legacy-reexport/operators/repeatWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/repeatWhen'; diff --git a/legacy-reexport/operators/retry.ts b/legacy-reexport/operators/retry.ts deleted file mode 100644 index b8d2feebb6..0000000000 --- a/legacy-reexport/operators/retry.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/retry'; diff --git a/legacy-reexport/operators/retryWhen.ts b/legacy-reexport/operators/retryWhen.ts deleted file mode 100644 index 00f9bdfd91..0000000000 --- a/legacy-reexport/operators/retryWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/retryWhen'; diff --git a/legacy-reexport/operators/sample.ts b/legacy-reexport/operators/sample.ts deleted file mode 100644 index 0e05a4ba75..0000000000 --- a/legacy-reexport/operators/sample.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/sample'; diff --git a/legacy-reexport/operators/sampleTime.ts b/legacy-reexport/operators/sampleTime.ts deleted file mode 100644 index 5041a5130e..0000000000 --- a/legacy-reexport/operators/sampleTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/sampleTime'; diff --git a/legacy-reexport/operators/scan.ts b/legacy-reexport/operators/scan.ts deleted file mode 100644 index acaee73d15..0000000000 --- a/legacy-reexport/operators/scan.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/scan'; diff --git a/legacy-reexport/operators/sequenceEqual.ts b/legacy-reexport/operators/sequenceEqual.ts deleted file mode 100644 index 0a6e3cbc6a..0000000000 --- a/legacy-reexport/operators/sequenceEqual.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/sequenceEqual'; diff --git a/legacy-reexport/operators/share.ts b/legacy-reexport/operators/share.ts deleted file mode 100644 index fd113fdae8..0000000000 --- a/legacy-reexport/operators/share.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/share'; diff --git a/legacy-reexport/operators/shareReplay.ts b/legacy-reexport/operators/shareReplay.ts deleted file mode 100644 index d489c81031..0000000000 --- a/legacy-reexport/operators/shareReplay.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/shareReplay'; diff --git a/legacy-reexport/operators/single.ts b/legacy-reexport/operators/single.ts deleted file mode 100644 index 096d4b42ff..0000000000 --- a/legacy-reexport/operators/single.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/single'; diff --git a/legacy-reexport/operators/skip.ts b/legacy-reexport/operators/skip.ts deleted file mode 100644 index 002baeb91c..0000000000 --- a/legacy-reexport/operators/skip.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/skip'; diff --git a/legacy-reexport/operators/skipLast.ts b/legacy-reexport/operators/skipLast.ts deleted file mode 100644 index 15d1c49652..0000000000 --- a/legacy-reexport/operators/skipLast.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/skipLast'; diff --git a/legacy-reexport/operators/skipUntil.ts b/legacy-reexport/operators/skipUntil.ts deleted file mode 100644 index 4193fe2c64..0000000000 --- a/legacy-reexport/operators/skipUntil.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/skipUntil'; diff --git a/legacy-reexport/operators/skipWhile.ts b/legacy-reexport/operators/skipWhile.ts deleted file mode 100644 index 34fb4d65f3..0000000000 --- a/legacy-reexport/operators/skipWhile.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/skipWhile'; diff --git a/legacy-reexport/operators/startWith.ts b/legacy-reexport/operators/startWith.ts deleted file mode 100644 index 901bbbae62..0000000000 --- a/legacy-reexport/operators/startWith.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/startWith'; diff --git a/legacy-reexport/operators/subscribeOn.ts b/legacy-reexport/operators/subscribeOn.ts deleted file mode 100644 index eb1c233656..0000000000 --- a/legacy-reexport/operators/subscribeOn.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/subscribeOn'; diff --git a/legacy-reexport/operators/switchAll.ts b/legacy-reexport/operators/switchAll.ts deleted file mode 100644 index 37a8c202d1..0000000000 --- a/legacy-reexport/operators/switchAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/switchAll'; diff --git a/legacy-reexport/operators/switchMap.ts b/legacy-reexport/operators/switchMap.ts deleted file mode 100644 index 840c2c71dc..0000000000 --- a/legacy-reexport/operators/switchMap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/switchMap'; diff --git a/legacy-reexport/operators/switchMapTo.ts b/legacy-reexport/operators/switchMapTo.ts deleted file mode 100644 index fbefdfe14e..0000000000 --- a/legacy-reexport/operators/switchMapTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/switchMapTo'; diff --git a/legacy-reexport/operators/take.ts b/legacy-reexport/operators/take.ts deleted file mode 100644 index 1176ad74df..0000000000 --- a/legacy-reexport/operators/take.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/take'; diff --git a/legacy-reexport/operators/takeLast.ts b/legacy-reexport/operators/takeLast.ts deleted file mode 100644 index 35e85f2df3..0000000000 --- a/legacy-reexport/operators/takeLast.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/takeLast'; diff --git a/legacy-reexport/operators/takeUntil.ts b/legacy-reexport/operators/takeUntil.ts deleted file mode 100644 index 828abef526..0000000000 --- a/legacy-reexport/operators/takeUntil.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/takeUntil'; diff --git a/legacy-reexport/operators/takeWhile.ts b/legacy-reexport/operators/takeWhile.ts deleted file mode 100644 index c3edb4e3e3..0000000000 --- a/legacy-reexport/operators/takeWhile.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/takeWhile'; diff --git a/legacy-reexport/operators/tap.ts b/legacy-reexport/operators/tap.ts deleted file mode 100644 index 6190e75efb..0000000000 --- a/legacy-reexport/operators/tap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/tap'; diff --git a/legacy-reexport/operators/throttle.ts b/legacy-reexport/operators/throttle.ts deleted file mode 100644 index f887a2feac..0000000000 --- a/legacy-reexport/operators/throttle.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/throttle'; diff --git a/legacy-reexport/operators/throttleTime.ts b/legacy-reexport/operators/throttleTime.ts deleted file mode 100644 index 8fbd3c88a5..0000000000 --- a/legacy-reexport/operators/throttleTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/throttleTime'; diff --git a/legacy-reexport/operators/throwIfEmpty.ts b/legacy-reexport/operators/throwIfEmpty.ts deleted file mode 100644 index 6bb64cd32a..0000000000 --- a/legacy-reexport/operators/throwIfEmpty.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/throwIfEmpty'; diff --git a/legacy-reexport/operators/timeInterval.ts b/legacy-reexport/operators/timeInterval.ts deleted file mode 100644 index 6af39119ad..0000000000 --- a/legacy-reexport/operators/timeInterval.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/timeInterval'; diff --git a/legacy-reexport/operators/timeout.ts b/legacy-reexport/operators/timeout.ts deleted file mode 100644 index c4a43f1c31..0000000000 --- a/legacy-reexport/operators/timeout.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/timeout'; diff --git a/legacy-reexport/operators/timeoutWith.ts b/legacy-reexport/operators/timeoutWith.ts deleted file mode 100644 index 2cfcad8617..0000000000 --- a/legacy-reexport/operators/timeoutWith.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/timeoutWith'; diff --git a/legacy-reexport/operators/timestamp.ts b/legacy-reexport/operators/timestamp.ts deleted file mode 100644 index 6580e38e31..0000000000 --- a/legacy-reexport/operators/timestamp.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/timestamp'; diff --git a/legacy-reexport/operators/toArray.ts b/legacy-reexport/operators/toArray.ts deleted file mode 100644 index 7f678db1d0..0000000000 --- a/legacy-reexport/operators/toArray.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/toArray'; diff --git a/legacy-reexport/operators/window.ts b/legacy-reexport/operators/window.ts deleted file mode 100644 index 2642141bf4..0000000000 --- a/legacy-reexport/operators/window.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/window'; diff --git a/legacy-reexport/operators/windowCount.ts b/legacy-reexport/operators/windowCount.ts deleted file mode 100644 index b774707730..0000000000 --- a/legacy-reexport/operators/windowCount.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/windowCount'; diff --git a/legacy-reexport/operators/windowTime.ts b/legacy-reexport/operators/windowTime.ts deleted file mode 100644 index 2cbf76fc87..0000000000 --- a/legacy-reexport/operators/windowTime.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/windowTime'; diff --git a/legacy-reexport/operators/windowToggle.ts b/legacy-reexport/operators/windowToggle.ts deleted file mode 100644 index b116f17e90..0000000000 --- a/legacy-reexport/operators/windowToggle.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/windowToggle'; diff --git a/legacy-reexport/operators/windowWhen.ts b/legacy-reexport/operators/windowWhen.ts deleted file mode 100644 index 782d4dc0ba..0000000000 --- a/legacy-reexport/operators/windowWhen.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/windowWhen'; diff --git a/legacy-reexport/operators/withLatestFrom.ts b/legacy-reexport/operators/withLatestFrom.ts deleted file mode 100644 index 15f7450bf1..0000000000 --- a/legacy-reexport/operators/withLatestFrom.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/withLatestFrom'; diff --git a/legacy-reexport/operators/zip.ts b/legacy-reexport/operators/zip.ts deleted file mode 100644 index c75d56f1fe..0000000000 --- a/legacy-reexport/operators/zip.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/zip'; diff --git a/legacy-reexport/operators/zipAll.ts b/legacy-reexport/operators/zipAll.ts deleted file mode 100644 index 3e69835c84..0000000000 --- a/legacy-reexport/operators/zipAll.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/operators/zipAll'; diff --git a/legacy-reexport/scheduler/animationFrame.ts b/legacy-reexport/scheduler/animationFrame.ts deleted file mode 100644 index f293624484..0000000000 --- a/legacy-reexport/scheduler/animationFrame.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/scheduler/animationFrame'; diff --git a/legacy-reexport/scheduler/asap.ts b/legacy-reexport/scheduler/asap.ts deleted file mode 100644 index 934d4b55a7..0000000000 --- a/legacy-reexport/scheduler/asap.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/scheduler/asap'; diff --git a/legacy-reexport/scheduler/async.ts b/legacy-reexport/scheduler/async.ts deleted file mode 100644 index ed5a61385b..0000000000 --- a/legacy-reexport/scheduler/async.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/scheduler/async'; diff --git a/legacy-reexport/scheduler/queue.ts b/legacy-reexport/scheduler/queue.ts deleted file mode 100644 index daea584555..0000000000 --- a/legacy-reexport/scheduler/queue.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/scheduler/queue'; diff --git a/legacy-reexport/symbol/iterator.ts b/legacy-reexport/symbol/iterator.ts deleted file mode 100644 index 709036080a..0000000000 --- a/legacy-reexport/symbol/iterator.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/symbol/iterator'; diff --git a/legacy-reexport/symbol/observable.ts b/legacy-reexport/symbol/observable.ts deleted file mode 100644 index c5fc191347..0000000000 --- a/legacy-reexport/symbol/observable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/symbol/observable'; diff --git a/legacy-reexport/symbol/rxSubscriber.ts b/legacy-reexport/symbol/rxSubscriber.ts deleted file mode 100644 index cf3866afc1..0000000000 --- a/legacy-reexport/symbol/rxSubscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/symbol/rxSubscriber'; diff --git a/legacy-reexport/util/ArgumentOutOfRangeError.ts b/legacy-reexport/util/ArgumentOutOfRangeError.ts deleted file mode 100644 index 48e4712711..0000000000 --- a/legacy-reexport/util/ArgumentOutOfRangeError.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/ArgumentOutOfRangeError'; diff --git a/legacy-reexport/util/EmptyError.ts b/legacy-reexport/util/EmptyError.ts deleted file mode 100644 index 8d258923d1..0000000000 --- a/legacy-reexport/util/EmptyError.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/EmptyError'; diff --git a/legacy-reexport/util/Immediate.ts b/legacy-reexport/util/Immediate.ts deleted file mode 100644 index 2bfaf13223..0000000000 --- a/legacy-reexport/util/Immediate.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/Immediate'; diff --git a/legacy-reexport/util/ObjectUnsubscribedError.ts b/legacy-reexport/util/ObjectUnsubscribedError.ts deleted file mode 100644 index 3ae25a97ab..0000000000 --- a/legacy-reexport/util/ObjectUnsubscribedError.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/ObjectUnsubscribedError'; diff --git a/legacy-reexport/util/TimeoutError.ts b/legacy-reexport/util/TimeoutError.ts deleted file mode 100644 index 31aae0b5ce..0000000000 --- a/legacy-reexport/util/TimeoutError.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/TimeoutError'; diff --git a/legacy-reexport/util/UnsubscriptionError.ts b/legacy-reexport/util/UnsubscriptionError.ts deleted file mode 100644 index fbf4c1cdcd..0000000000 --- a/legacy-reexport/util/UnsubscriptionError.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/UnsubscriptionError'; diff --git a/legacy-reexport/util/applyMixins.ts b/legacy-reexport/util/applyMixins.ts deleted file mode 100644 index b5ef81c432..0000000000 --- a/legacy-reexport/util/applyMixins.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/applyMixins'; diff --git a/legacy-reexport/util/errorObject.ts b/legacy-reexport/util/errorObject.ts deleted file mode 100644 index 3dad2b9115..0000000000 --- a/legacy-reexport/util/errorObject.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/errorObject'; diff --git a/legacy-reexport/util/hostReportError.ts b/legacy-reexport/util/hostReportError.ts deleted file mode 100644 index 74d0de4e99..0000000000 --- a/legacy-reexport/util/hostReportError.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/hostReportError'; diff --git a/legacy-reexport/util/identity.ts b/legacy-reexport/util/identity.ts deleted file mode 100644 index 685e46251c..0000000000 --- a/legacy-reexport/util/identity.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/identity'; diff --git a/legacy-reexport/util/isArray.ts b/legacy-reexport/util/isArray.ts deleted file mode 100644 index 5ca2e2186c..0000000000 --- a/legacy-reexport/util/isArray.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isArray'; diff --git a/legacy-reexport/util/isArrayLike.ts b/legacy-reexport/util/isArrayLike.ts deleted file mode 100644 index a8b03d237f..0000000000 --- a/legacy-reexport/util/isArrayLike.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isArrayLike'; diff --git a/legacy-reexport/util/isDate.ts b/legacy-reexport/util/isDate.ts deleted file mode 100644 index c5ebb01de5..0000000000 --- a/legacy-reexport/util/isDate.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isDate'; diff --git a/legacy-reexport/util/isFunction.ts b/legacy-reexport/util/isFunction.ts deleted file mode 100644 index 7b4a54a103..0000000000 --- a/legacy-reexport/util/isFunction.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isFunction'; diff --git a/legacy-reexport/util/isIterable.ts b/legacy-reexport/util/isIterable.ts deleted file mode 100644 index e7ffaae5ba..0000000000 --- a/legacy-reexport/util/isIterable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isIterable'; diff --git a/legacy-reexport/util/isNumeric.ts b/legacy-reexport/util/isNumeric.ts deleted file mode 100644 index eeefcc22cd..0000000000 --- a/legacy-reexport/util/isNumeric.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isNumeric'; diff --git a/legacy-reexport/util/isObject.ts b/legacy-reexport/util/isObject.ts deleted file mode 100644 index 4b57d811b2..0000000000 --- a/legacy-reexport/util/isObject.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isObject'; diff --git a/legacy-reexport/util/isObservable.ts b/legacy-reexport/util/isObservable.ts deleted file mode 100644 index cdf34ca264..0000000000 --- a/legacy-reexport/util/isObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isObservable'; diff --git a/legacy-reexport/util/isPromise.ts b/legacy-reexport/util/isPromise.ts deleted file mode 100644 index 1494a4b66f..0000000000 --- a/legacy-reexport/util/isPromise.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isPromise'; diff --git a/legacy-reexport/util/isScheduler.ts b/legacy-reexport/util/isScheduler.ts deleted file mode 100644 index fd1a1f21c5..0000000000 --- a/legacy-reexport/util/isScheduler.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/isScheduler'; diff --git a/legacy-reexport/util/noop.ts b/legacy-reexport/util/noop.ts deleted file mode 100644 index 0fe22e1ae4..0000000000 --- a/legacy-reexport/util/noop.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/noop'; diff --git a/legacy-reexport/util/not.ts b/legacy-reexport/util/not.ts deleted file mode 100644 index 3831576939..0000000000 --- a/legacy-reexport/util/not.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/not'; diff --git a/legacy-reexport/util/pipe.ts b/legacy-reexport/util/pipe.ts deleted file mode 100644 index da6342a429..0000000000 --- a/legacy-reexport/util/pipe.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/pipe'; diff --git a/legacy-reexport/util/root.ts b/legacy-reexport/util/root.ts deleted file mode 100644 index 25b6c7944d..0000000000 --- a/legacy-reexport/util/root.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/root'; diff --git a/legacy-reexport/util/subscribeTo.ts b/legacy-reexport/util/subscribeTo.ts deleted file mode 100644 index 471f192ba8..0000000000 --- a/legacy-reexport/util/subscribeTo.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/subscribeTo'; diff --git a/legacy-reexport/util/subscribeToArray.ts b/legacy-reexport/util/subscribeToArray.ts deleted file mode 100644 index 9220f626fb..0000000000 --- a/legacy-reexport/util/subscribeToArray.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/subscribeToArray'; diff --git a/legacy-reexport/util/subscribeToIterable.ts b/legacy-reexport/util/subscribeToIterable.ts deleted file mode 100644 index 6edb1efc1e..0000000000 --- a/legacy-reexport/util/subscribeToIterable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/subscribeToIterable'; diff --git a/legacy-reexport/util/subscribeToObservable.ts b/legacy-reexport/util/subscribeToObservable.ts deleted file mode 100644 index 88495b8262..0000000000 --- a/legacy-reexport/util/subscribeToObservable.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/subscribeToObservable'; diff --git a/legacy-reexport/util/subscribeToPromise.ts b/legacy-reexport/util/subscribeToPromise.ts deleted file mode 100644 index 4540e113c4..0000000000 --- a/legacy-reexport/util/subscribeToPromise.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/subscribeToPromise'; diff --git a/legacy-reexport/util/subscribeToResult.ts b/legacy-reexport/util/subscribeToResult.ts deleted file mode 100644 index 2ab44ccc06..0000000000 --- a/legacy-reexport/util/subscribeToResult.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/subscribeToResult'; diff --git a/legacy-reexport/util/toSubscriber.ts b/legacy-reexport/util/toSubscriber.ts deleted file mode 100644 index 61e1c7f056..0000000000 --- a/legacy-reexport/util/toSubscriber.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/toSubscriber'; diff --git a/legacy-reexport/util/tryCatch.ts b/legacy-reexport/util/tryCatch.ts deleted file mode 100644 index 57c45c7a8c..0000000000 --- a/legacy-reexport/util/tryCatch.ts +++ /dev/null @@ -1 +0,0 @@ -export * from 'rxjs-compat/util/tryCatch'; diff --git a/migrations/collection.json b/migrations/collection.json deleted file mode 100644 index 7eb1124431..0000000000 --- a/migrations/collection.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "schematics": { - "rxjs-migration-01": { - "description": "Adds rxjs-compat package to the project to ensure compatability with RxJS 5", - "version": "6.0.0-rc.0", - "factory": "./update-6_0_0/index#rxjsV6MigrationSchematic" - } - } -} diff --git a/migrations/update-6_0_0/index.ts b/migrations/update-6_0_0/index.ts deleted file mode 100644 index 9b2cafeb8f..0000000000 --- a/migrations/update-6_0_0/index.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Rule, SchematicContext, Tree, SchematicsException, chain, } from '@angular-devkit/schematics'; -import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks'; - -const rxjsCompatVersion = '^6.0.0-rc.0'; - -export function rxjsV6MigrationSchematic(_options: any): Rule { - return (tree: Tree, context: SchematicContext) => { - const pkgPath = '/package.json'; - const buffer = tree.read(pkgPath); - if (buffer == null) { - throw new SchematicsException('Could not read package.json'); - } - const content = buffer.toString(); - const pkg = JSON.parse(content); - - if (pkg === null || typeof pkg !== 'object' || Array.isArray(pkg)) { - throw new SchematicsException('Error reading package.json'); - } - - if (!pkg.dependencies) { - pkg.dependencies = {}; - } - - pkg.dependencies['rxjs-compat'] = rxjsCompatVersion; - - tree.overwrite(pkgPath, JSON.stringify(pkg, null, 2)); - context.addTask(new NodePackageInstallTask()); - - return tree; // <3 - }; -} diff --git a/package.json b/package.json index ec9b6ab31c..6d9295977c 100644 --- a/package.json +++ b/package.json @@ -27,14 +27,12 @@ "scripts": { "precommit": "lint-staged", "commitmsg": "validate-commit-msg", - "build_all": "npm-run-all compat_build_all clean_dist copy_sources build_cjs build_esm5 build_esm2015 build_esm5_for_rollup build_umd build_types build_legacy_reexport build_migrations generate_packages", + "build_all": "npm-run-all clean_dist copy_sources build_cjs build_esm5 build_esm2015 build_esm5_for_rollup build_umd build_types generate_packages", "build_cjs": "npm-run-all clean_dist_cjs compile_dist_cjs", "build_esm5": "npm-run-all clean_dist_esm5 compile_dist_esm5", - "build_esm5_for_rollup": "npm-run-all clean_dist_esm5_for_rollup compile_dist_esm5_for_rollup && mkdirp dist/esm5_for_rollup/node_modules && shx cp -r ./dist-compat/package ./dist/esm5_for_rollup/node_modules/rxjs-compat", + "build_esm5_for_rollup": "npm-run-all clean_dist_esm5_for_rollup compile_dist_esm5_for_rollup && mkdirp dist/esm5_for_rollup/node_modules", "build_esm2015": "npm-run-all clean_dist_esm2015 compile_dist_esm2015", "build_esm2015_for_docs": "npm-run-all clean_dist_esm2015 compile_dist_esm2015_for_docs", - "build_legacy_reexport": "npm-run-all compile_legacy_reexport", - "build_migrations": "npm-run-all clean_dist_migrations compile_dist_migrations", "build_types": "npm-run-all clean_dist_types compile_dist_types", "build_closure_core": "node ./tools/make-closure-core.js", "build_global": "npm-run-all clean_dist_global build_esm5_for_rollup && mkdirp ./dist/global && node ./tools/make-umd-bundle.js && npm-run-all build_closure_core clean_dist_esm5_for_rollup", @@ -42,7 +40,7 @@ "build_perf": "webdriver-manager update && npm-run-all build_cjs build_global perf", "build_docs": "npm-run-all build_global build_esm2015_for_docs build_cjs tests2png decision_tree_widget && esdoc -c esdoc.json && npm-run-all clean_dist_esm2015", "build_spec": "npm-run-all build_cjs generate_packages", - "build_spec_full": "npm-run-all compat_build_cjs compile_legacy_reexport compat_generate_packages build_spec", + "build_spec_full": "npm-run-all build_spec", "build:spec:browser": "echo \"Browser test is not working currently\" && exit -1 && webpack --config spec/support/webpack.mocha.config.js", "clean_dist": "shx rm -rf ./dist", "clean_dist_cjs": "shx rm -rf ./dist/cjs", @@ -50,7 +48,6 @@ "clean_dist_esm5_for_rollup": "shx rm -rf ./dist/esm5_for_rollup", "clean_dist_esm2015": "shx rm -rf ./dist/esm2015", "clean_dist_global": "shx rm -rf ./dist/global", - "clean_dist_migrations": "shx rm -rf ./dist/migrations", "clean_dist_types": "shx rm -rf ./dist/typings", "commit": "git-cz", "compile_dist_cjs": "tsc -p ./tsconfig/tsconfig.cjs.json", @@ -58,9 +55,7 @@ "compile_dist_esm2015": "tsc -p ./tsconfig/tsconfig.esm2015.json", "compile_dist_esm2015_for_docs": "tsc ./dist/src/internal/Rx.ts ./dist/src/add/observable/of.ts ./dist/src/MiscJSDoc.ts -m es2015 --sourceMap --outDir ./dist/es6 --target es2015 -d --diagnostics --pretty --noImplicitAny --noImplicitReturns --noImplicitThis --suppressImplicitAnyIndexErrors --moduleResolution node", "compile_dist_esm5_for_rollup": "tsc -p ./tsconfig/tsconfig.esm5.rollup.json", - "compile_dist_migrations": "tsc -p ./tsconfig/tsconfig.migrations.json", "compile_dist_types": "tsc -p ./tsconfig/tsconfig.types.json", - "compile_legacy_reexport": "tsc -p ./tsconfig/tsconfig.legacy-reexport.json", "copy_sources": "mkdirp dist && shx cp -r ./src/ ./dist/src", "decision_tree_widget": "cd doc/decision-tree-widget && npm run build && cd ../..", "doctoc": "doctoc CONTRIBUTING.md", @@ -82,26 +77,7 @@ "test:systemjs": "node integration/systemjs/systemjs-compatibility-spec.js", "test:side-effects": "check-side-effects --test integration/side-effects/side-effects.json", "test:side-effects:update": "npm run test:side-effects -- --update", - "tests2png": "mkdirp docs_app/content/img && mocha --opts spec/support/tests2png.opts \"spec/**/*-spec.ts\"", - "compat_build_all": "npm-run-all compat_clean_dist compat_build_cjs compat_build_esm5 compat_build_esm2015 compat_build_esm5_for_rollup compat_build_umd compat_generate_packages", - "compat_build_closure": "node ./tools/make-closure-compat.js", - "compat_build_cjs": "npm-run-all compat_clean_dist_cjs compat_compile_dist_cjs", - "compat_build_esm5": "npm-run-all compat_clean_dist_esm5 compat_compile_dist_esm5", - "compat_build_esm2015": "npm-run-all compat_clean_dist_esm2015 compat_compile_dist_esm2015", - "compat_build_esm5_for_rollup": "npm-run-all compat_clean_dist_esm5_for_rollup compat_compile_dist_esm5_for_rollup", - "compat_build_umd": "npm-run-all compat_clean_dist_global && mkdirp ./dist-compat/global && node ./tools/make-umd-compat-bundle.js && npm-run-all compat_build_closure", - "compat_clean_dist": "shx rm -rf ./dist-compat", - "compat_clean_dist_cjs": "shx rm -rf ./dist-compat/cjs", - "compat_clean_dist_esm5": "shx rm -rf ./dist-compat/esm5", - "compat_clean_dist_esm2015": "shx rm -rf ./dist-compat/esm2015", - "compat_clean_dist_esm5_for_rollup": "shx rm -rf ./dist-compat/esm5_for_rollup", - "compat_clean_dist_global": "shx rm -rf ./dist-compat/global", - "compat_compile_dist_cjs": "tsc -p ./tsconfig/compat/tsconfig.cjs.json", - "compat_compile_dist_esm5": "tsc -p ./tsconfig/compat/tsconfig.esm5.json", - "compat_compile_dist_esm5_for_rollup": "tsc -p ./tsconfig/compat/tsconfig.esm5.rollup.json", - "compat_compile_dist_esm2015": "tsc -p ./tsconfig/compat/tsconfig.esm2015.json", - "compat_copy_sources": "mkdirp dist-compat && shx cp -r ./compat/ ./dist-compat/", - "compat_generate_packages": "node .make-compat-package.js" + "tests2png": "mkdirp docs_app/content/img && mocha --opts spec/support/tests2png.opts \"spec/**/*-spec.ts\"" }, "repository": { "type": "git", @@ -222,8 +198,5 @@ "engines": { "npm": ">=2.0.0" }, - "typings": "./dist/package/Rx.d.ts", - "ng-update": { - "migrations": "./migrations/collection.json" - } + "typings": "./dist/package/Rx.d.ts" } diff --git a/spec/migration/update-6_0_0/index-spec.ts b/spec/migration/update-6_0_0/index-spec.ts deleted file mode 100644 index 88786a558e..0000000000 --- a/spec/migration/update-6_0_0/index-spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Tree } from '@angular-devkit/schematics'; -import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing'; -import * as path from 'path'; -import { expect } from 'chai'; - -const collectionPath = path.join(__dirname, '../../../migrations/collection.json'); - -describe('Migration Schematic', () => { - let tree: UnitTestTree; - - beforeEach(() => { - tree = Tree.empty() as UnitTestTree; - tree.create('/package.json', `{}`); - }); - - it('adds missing dependencies', () => { - const runner = new SchematicTestRunner('schematics', collectionPath); - tree = runner.runSchematic('rxjs-migration-01', {}, tree); - - const pkg = JSON.parse(tree.readContent('/package.json')); - expect(pkg.dependencies['rxjs-compat']).to.equal('^6.0.0-rc.0'); - }); -}); diff --git a/spec/observables/IteratorObservable-spec.ts b/spec/observables/IteratorObservable-spec.ts index 01f6149226..3749f97020 100644 --- a/spec/observables/IteratorObservable-spec.ts +++ b/spec/observables/IteratorObservable-spec.ts @@ -1,5 +1,4 @@ import { expect } from 'chai'; -import { queue } from 'rxjs/scheduler/queue'; import { fromIterable } from 'rxjs/internal/observable/fromIterable'; import { iterator as symbolIterator } from 'rxjs/internal/symbol/iterator'; import { TestScheduler } from 'rxjs/testing'; @@ -101,7 +100,7 @@ describe('fromIterable', () => { const results: any[] = []; - fromIterable(iterable as any, queue) + fromIterable(iterable as any, queueScheduler) .pipe(take(3)) .subscribe( x => results.push(x), diff --git a/spec/observables/SubscribeOnObservable-spec.ts b/spec/observables/SubscribeOnObservable-spec.ts index 6735948026..03a31bdd79 100644 --- a/spec/observables/SubscribeOnObservable-spec.ts +++ b/spec/observables/SubscribeOnObservable-spec.ts @@ -1,6 +1,6 @@ import { expect } from 'chai'; import * as sinon from 'sinon'; -import { SubscribeOnObservable } from 'rxjs/observable/SubscribeOnObservable'; +import { SubscribeOnObservable } from 'rxjs/internal/observable/SubscribeOnObservable'; import { hot, expectObservable, expectSubscriptions } from '../helpers/marble-testing'; import { TestScheduler } from 'rxjs/testing'; import { asapScheduler } from 'rxjs'; diff --git a/spec/observables/range-spec.ts b/spec/observables/range-spec.ts index 7787b746c6..30b4d981a6 100644 --- a/spec/observables/range-spec.ts +++ b/spec/observables/range-spec.ts @@ -1,9 +1,9 @@ import { expect } from 'chai'; import * as sinon from 'sinon'; -import { Observable, Subscriber, asapScheduler as asap, range, of} from 'rxjs'; +import { Subscriber, asapScheduler as asap, range, of} from 'rxjs'; import { TestScheduler } from 'rxjs/testing'; import { expectObservable } from '../helpers/marble-testing'; -import { dispatch } from 'rxjs/observable/range'; +import { dispatch } from 'rxjs/internal/observable/range'; import { concatMap, delay } from 'rxjs/operators'; declare const asDiagram: any; diff --git a/spec/util/Immediate-spec.ts b/spec/util/Immediate-spec.ts index 932d3226a9..3338764f5a 100644 --- a/spec/util/Immediate-spec.ts +++ b/spec/util/Immediate-spec.ts @@ -1,5 +1,5 @@ import { expect } from 'chai'; -import { Immediate } from 'rxjs/util/Immediate'; +import { Immediate } from 'rxjs/internal/util/Immediate'; describe('Immediate', () => { it('should schedule on the next microtask', (done) => { diff --git a/spec/util/isPromise-spec.ts b/spec/util/isPromise-spec.ts index 8edd277503..0331545fed 100644 --- a/spec/util/isPromise-spec.ts +++ b/spec/util/isPromise-spec.ts @@ -1,6 +1,6 @@ import { of } from 'rxjs'; import { expect } from 'chai'; -import { isPromise } from 'rxjs/util/isPromise'; +import { isPromise } from 'rxjs/internal/util/isPromise'; describe('isPromise', () => { it('should return true for new Promise', () => { diff --git a/spec/util/toSubscriber-spec.ts b/spec/util/toSubscriber-spec.ts index 827ef17272..039159caef 100644 --- a/spec/util/toSubscriber-spec.ts +++ b/spec/util/toSubscriber-spec.ts @@ -1,5 +1,5 @@ import { expect } from 'chai'; -import { toSubscriber } from 'rxjs/internal-compatibility'; +import { toSubscriber } from 'src/internal/util/toSubscriber'; describe('toSubscriber', () => { it('should not be closed when other subscriber created with no arguments completes', () => { diff --git a/src/internal-compatibility/index.ts b/src/internal-compatibility/index.ts deleted file mode 100644 index c7b0058207..0000000000 --- a/src/internal-compatibility/index.ts +++ /dev/null @@ -1,64 +0,0 @@ - -export { config } from '../internal/config'; -export { InnerSubscriber } from '../internal/InnerSubscriber'; -export { OuterSubscriber } from '../internal/OuterSubscriber'; -export { Scheduler } from '../internal/Scheduler'; -export { AnonymousSubject } from '../internal/Subject'; -export { SubjectSubscription } from '../internal/SubjectSubscription'; -export { Subscriber } from '../internal/Subscriber'; - -export { fromPromise } from '../internal/observable/fromPromise'; -export { fromIterable } from '../internal/observable/fromIterable'; -export { ajax } from '../internal/observable/dom/ajax'; -export { webSocket } from '../internal/observable/dom/webSocket'; -export { AjaxRequest, AjaxCreationMethod, ajaxGet, ajaxPost, ajaxDelete, ajaxPut, ajaxPatch, ajaxGetJSON, - AjaxObservable, AjaxSubscriber, AjaxResponse, AjaxError, AjaxTimeoutError } from '../internal/observable/dom/AjaxObservable'; -export { WebSocketSubjectConfig, WebSocketSubject } from '../internal/observable/dom/WebSocketSubject'; -export { CombineLatestOperator } from '../internal/observable/combineLatest'; -export { EventTargetLike } from '../internal/observable/fromEvent'; -export { ConditionFunc, IterateFunc, ResultFunc, GenerateBaseOptions, GenerateOptions } from '../internal/observable/generate'; -export { dispatch } from '../internal/observable/range'; -export { SubscribeOnObservable } from '../internal/observable/SubscribeOnObservable'; - -export { Timestamp } from '../internal/operators/timestamp'; -export { TimeInterval } from '../internal/operators/timeInterval'; -export { GroupedObservable } from '../internal/operators/groupBy'; -export { ShareReplayConfig } from '../internal/operators/shareReplay'; -export { ThrottleConfig, defaultThrottleConfig } from '../internal/operators/throttle'; - -export { rxSubscriber } from '../internal/symbol/rxSubscriber'; -export { iterator } from '../internal/symbol/iterator'; -export { observable } from '../internal/symbol/observable'; - -export { ArgumentOutOfRangeError } from '../internal/util/ArgumentOutOfRangeError'; -export { EmptyError } from '../internal/util/EmptyError'; -export { Immediate } from '../internal/util/Immediate'; -export { ObjectUnsubscribedError } from '../internal/util/ObjectUnsubscribedError'; -export { TimeoutError } from '../internal/util/TimeoutError'; -export { UnsubscriptionError } from '../internal/util/UnsubscriptionError'; -export { applyMixins } from '../internal/util/applyMixins'; -export { errorObject } from '../internal/util/errorObject'; -export { hostReportError } from '../internal/util/hostReportError'; -export { identity } from '../internal/util/identity'; -export { isArray } from '../internal/util/isArray'; -export { isArrayLike } from '../internal/util/isArrayLike'; -export { isDate } from '../internal/util/isDate'; -export { isFunction } from '../internal/util/isFunction'; -export { isIterable } from '../internal/util/isIterable'; -export { isNumeric } from '../internal/util/isNumeric'; -export { isObject } from '../internal/util/isObject'; -export { isInteropObservable as isObservable } from '../internal/util/isInteropObservable'; -export { isPromise } from '../internal/util/isPromise'; -export { isScheduler } from '../internal/util/isScheduler'; -export { noop } from '../internal/util/noop'; -export { not } from '../internal/util/not'; -export { pipe } from '../internal/util/pipe'; -export { root } from '../internal/util/root'; -export { subscribeTo } from '../internal/util/subscribeTo'; -export { subscribeToArray } from '../internal/util/subscribeToArray'; -export { subscribeToIterable } from '../internal/util/subscribeToIterable'; -export { subscribeToObservable } from '../internal/util/subscribeToObservable'; -export { subscribeToPromise } from '../internal/util/subscribeToPromise'; -export { subscribeToResult } from '../internal/util/subscribeToResult'; -export { toSubscriber } from '../internal/util/toSubscriber'; -export { tryCatch } from '../internal/util/tryCatch'; diff --git a/src/internal-compatibility/package.json b/src/internal-compatibility/package.json deleted file mode 100644 index 5ff05a690d..0000000000 --- a/src/internal-compatibility/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "rxjs/internal-compatibility", - "typings": "./index.d.ts", - "main": "./index.js", - "module": "../_esm5/internal-compatibility/index.js", - "es2015": "../_esm2015/internal-compatibility/index.js", - "sideEffects": false -} diff --git a/src/internal/Rx.ts b/src/internal/Rx.ts deleted file mode 100644 index ee6ef897a1..0000000000 --- a/src/internal/Rx.ts +++ /dev/null @@ -1,228 +0,0 @@ -/* tslint:disable:no-unused-variable */ -// Subject imported before Observable to bypass circular dependency issue since -// Subject extends Observable and Observable references Subject in it's -// definition -export {Subject, AnonymousSubject} from './Subject'; -/* tslint:enable:no-unused-variable */ -export {Observable} from './Observable'; - -export { config } from './config'; - -// statics -/* tslint:disable:no-use-before-declare */ -import 'rxjs-compat/add/observable/bindCallback'; -import 'rxjs-compat/add/observable/bindNodeCallback'; -import 'rxjs-compat/add/observable/combineLatest'; -import 'rxjs-compat/add/observable/concat'; -import 'rxjs-compat/add/observable/defer'; -import 'rxjs-compat/add/observable/empty'; -import 'rxjs-compat/add/observable/forkJoin'; -import 'rxjs-compat/add/observable/from'; -import 'rxjs-compat/add/observable/fromEvent'; -import 'rxjs-compat/add/observable/fromEventPattern'; -import 'rxjs-compat/add/observable/fromPromise'; -import 'rxjs-compat/add/observable/generate'; -import 'rxjs-compat/add/observable/if'; -import 'rxjs-compat/add/observable/interval'; -import 'rxjs-compat/add/observable/merge'; -import 'rxjs-compat/add/observable/race'; -import 'rxjs-compat/add/observable/never'; -import 'rxjs-compat/add/observable/of'; -import 'rxjs-compat/add/observable/onErrorResumeNext'; -import 'rxjs-compat/add/observable/pairs'; -import 'rxjs-compat/add/observable/range'; -import 'rxjs-compat/add/observable/using'; -import 'rxjs-compat/add/observable/throw'; -import 'rxjs-compat/add/observable/timer'; -import 'rxjs-compat/add/observable/zip'; - -//dom -import 'rxjs-compat/add/observable/dom/ajax'; -import 'rxjs-compat/add/observable/dom/webSocket'; - -//internal/operators -import 'rxjs-compat/add/operator/buffer'; -import 'rxjs-compat/add/operator/bufferCount'; -import 'rxjs-compat/add/operator/bufferTime'; -import 'rxjs-compat/add/operator/bufferToggle'; -import 'rxjs-compat/add/operator/bufferWhen'; -import 'rxjs-compat/add/operator/catch'; -import 'rxjs-compat/add/operator/combineAll'; -import 'rxjs-compat/add/operator/combineLatest'; -import 'rxjs-compat/add/operator/concat'; -import 'rxjs-compat/add/operator/concatAll'; -import 'rxjs-compat/add/operator/concatMap'; -import 'rxjs-compat/add/operator/concatMapTo'; -import 'rxjs-compat/add/operator/count'; -import 'rxjs-compat/add/operator/dematerialize'; -import 'rxjs-compat/add/operator/debounce'; -import 'rxjs-compat/add/operator/debounceTime'; -import 'rxjs-compat/add/operator/defaultIfEmpty'; -import 'rxjs-compat/add/operator/delay'; -import 'rxjs-compat/add/operator/delayWhen'; -import 'rxjs-compat/add/operator/distinct'; -import 'rxjs-compat/add/operator/distinctUntilChanged'; -import 'rxjs-compat/add/operator/distinctUntilKeyChanged'; -import 'rxjs-compat/add/operator/do'; -import 'rxjs-compat/add/operator/exhaust'; -import 'rxjs-compat/add/operator/exhaustMap'; -import 'rxjs-compat/add/operator/expand'; -import 'rxjs-compat/add/operator/elementAt'; -import 'rxjs-compat/add/operator/filter'; -import 'rxjs-compat/add/operator/finally'; -import 'rxjs-compat/add/operator/find'; -import 'rxjs-compat/add/operator/findIndex'; -import 'rxjs-compat/add/operator/first'; -import 'rxjs-compat/add/operator/groupBy'; -import 'rxjs-compat/add/operator/ignoreElements'; -import 'rxjs-compat/add/operator/isEmpty'; -import 'rxjs-compat/add/operator/audit'; -import 'rxjs-compat/add/operator/auditTime'; -import 'rxjs-compat/add/operator/last'; -import 'rxjs-compat/add/operator/let'; -import 'rxjs-compat/add/operator/every'; -import 'rxjs-compat/add/operator/map'; -import 'rxjs-compat/add/operator/mapTo'; -import 'rxjs-compat/add/operator/materialize'; -import 'rxjs-compat/add/operator/max'; -import 'rxjs-compat/add/operator/merge'; -import 'rxjs-compat/add/operator/mergeAll'; -import 'rxjs-compat/add/operator/mergeMap'; -import 'rxjs-compat/add/operator/mergeMapTo'; -import 'rxjs-compat/add/operator/mergeScan'; -import 'rxjs-compat/add/operator/min'; -import 'rxjs-compat/add/operator/multicast'; -import 'rxjs-compat/add/operator/observeOn'; -import 'rxjs-compat/add/operator/onErrorResumeNext'; -import 'rxjs-compat/add/operator/pairwise'; -import 'rxjs-compat/add/operator/partition'; -import 'rxjs-compat/add/operator/pluck'; -import 'rxjs-compat/add/operator/publish'; -import 'rxjs-compat/add/operator/publishBehavior'; -import 'rxjs-compat/add/operator/publishReplay'; -import 'rxjs-compat/add/operator/publishLast'; -import 'rxjs-compat/add/operator/race'; -import 'rxjs-compat/add/operator/reduce'; -import 'rxjs-compat/add/operator/repeat'; -import 'rxjs-compat/add/operator/repeatWhen'; -import 'rxjs-compat/add/operator/retry'; -import 'rxjs-compat/add/operator/retryWhen'; -import 'rxjs-compat/add/operator/sample'; -import 'rxjs-compat/add/operator/sampleTime'; -import 'rxjs-compat/add/operator/scan'; -import 'rxjs-compat/add/operator/sequenceEqual'; -import 'rxjs-compat/add/operator/share'; -import 'rxjs-compat/add/operator/shareReplay'; -import 'rxjs-compat/add/operator/single'; -import 'rxjs-compat/add/operator/skip'; -import 'rxjs-compat/add/operator/skipLast'; -import 'rxjs-compat/add/operator/skipUntil'; -import 'rxjs-compat/add/operator/skipWhile'; -import 'rxjs-compat/add/operator/startWith'; -import 'rxjs-compat/add/operator/subscribeOn'; -import 'rxjs-compat/add/operator/switch'; -import 'rxjs-compat/add/operator/switchMap'; -import 'rxjs-compat/add/operator/switchMapTo'; -import 'rxjs-compat/add/operator/take'; -import 'rxjs-compat/add/operator/takeLast'; -import 'rxjs-compat/add/operator/takeUntil'; -import 'rxjs-compat/add/operator/takeWhile'; -import 'rxjs-compat/add/operator/throttle'; -import 'rxjs-compat/add/operator/throttleTime'; -import 'rxjs-compat/add/operator/timeInterval'; -import 'rxjs-compat/add/operator/timeout'; -import 'rxjs-compat/add/operator/timeoutWith'; -import 'rxjs-compat/add/operator/timestamp'; -import 'rxjs-compat/add/operator/toArray'; -import 'rxjs-compat/add/operator/toPromise'; -import 'rxjs-compat/add/operator/window'; -import 'rxjs-compat/add/operator/windowCount'; -import 'rxjs-compat/add/operator/windowTime'; -import 'rxjs-compat/add/operator/windowToggle'; -import 'rxjs-compat/add/operator/windowWhen'; -import 'rxjs-compat/add/operator/withLatestFrom'; -import 'rxjs-compat/add/operator/zip'; -import 'rxjs-compat/add/operator/zipAll'; - -/* tslint:disable:no-unused-variable */ -export {Operator} from './Operator'; -export {Observer} from './types'; -export {Subscription} from './Subscription'; -export {Subscriber} from './Subscriber'; -export {AsyncSubject} from './AsyncSubject'; -export {ReplaySubject} from './ReplaySubject'; -export {BehaviorSubject} from './BehaviorSubject'; -export {ConnectableObservable} from './observable/ConnectableObservable'; -export {Notification, NotificationKind} from './Notification'; -export {EmptyError} from './util/EmptyError'; -export {ArgumentOutOfRangeError} from './util/ArgumentOutOfRangeError'; -export {ObjectUnsubscribedError} from './util/ObjectUnsubscribedError'; -export {TimeoutError} from './util/TimeoutError'; -export {UnsubscriptionError} from './util/UnsubscriptionError'; -export {TimeInterval} from './operators/timeInterval'; -export {Timestamp} from './operators/timestamp'; -export {TestScheduler} from './testing/TestScheduler'; -export {VirtualTimeScheduler} from './scheduler/VirtualTimeScheduler'; -export {AjaxRequest, AjaxResponse, AjaxError, AjaxTimeoutError} from './observable/dom/AjaxObservable'; -export { pipe } from './util/pipe'; - -import { asap } from './scheduler/asap'; -import { async } from './scheduler/async'; -import { queue } from './scheduler/queue'; -import { animationFrame } from './scheduler/animationFrame'; -import { AsapScheduler } from './scheduler/AsapScheduler'; -import { AsyncScheduler } from './scheduler/AsyncScheduler'; -import { QueueScheduler } from './scheduler/QueueScheduler'; -import { AnimationFrameScheduler } from './scheduler/AnimationFrameScheduler'; -import { rxSubscriber } from './symbol/rxSubscriber'; -import { iterator } from './symbol/iterator'; -import { observable } from './symbol/observable'; - -import * as _operators from './operators/index'; - -export const operators = _operators; - -/* tslint:enable:no-unused-variable */ - -/** - * @typedef {Object} Rx.Scheduler - * @property {SchedulerLike} asap Schedules on the micro task queue, which is the same - * queue used for promises. Basically after the current job, but before the next job. - * Use this for asynchronous conversions. - * @property {SchedulerLike} queue Schedules on a queue in the current event frame - * (trampoline scheduler). Use this for iteration operations. - * @property {SchedulerLike} animationFrame Schedules work with `requestAnimationFrame`. - * Use this for synchronizing with the platform's painting. - * @property {SchedulerLike} async Schedules work with `setInterval`. Use this for - * time-based operations. - */ -let Scheduler = { - asap, - queue, - animationFrame, - async -}; - -/** - * @typedef {Object} Rx.Symbol - * @property {Symbol|string} rxSubscriber A symbol to use as a property name to - * retrieve an "Rx safe" Observer from an object. "Rx safety" can be defined as - * an object that has all of the traits of an Rx Subscriber, including the - * ability to add and remove subscriptions to the subscription chain and - * guarantees involving event triggering (can't "next" after unsubscription, - * etc). - * @property {Symbol|string} observable A symbol to use as a property name to - * retrieve an Observable as defined by the [ECMAScript "Observable" spec](https://github.com/zenparsing/es-observable). - * @property {Symbol|string} iterator The ES6 symbol to use as a property name - * to retrieve an iterator from an object. - */ -let Symbol = { - rxSubscriber, - observable, - iterator -}; - -export { - Scheduler, - Symbol -}; diff --git a/tools/make-closure-compat.js b/tools/make-closure-compat.js deleted file mode 100644 index c72ef00968..0000000000 --- a/tools/make-closure-compat.js +++ /dev/null @@ -1,3 +0,0 @@ -var makeClosure = require('./make-closure'); - -makeClosure('dist-compat/global/rxjs-compat.umd.js'); diff --git a/tools/make-umd-compat-bundle.js b/tools/make-umd-compat-bundle.js deleted file mode 100644 index 83e2eb4f3d..0000000000 --- a/tools/make-umd-compat-bundle.js +++ /dev/null @@ -1,15 +0,0 @@ -var rollupBundle = require('./rollup-bundle'); - -rollupBundle({ - input: 'dist-compat/esm5_for_rollup/compat/umd.js', - dest: 'dist-compat/global/rxjs-compat.umd.js', - aliases: { - 'rxjs/testing': 'dist-compat/esm5_for_rollup/src/testing/index.js', - 'rxjs/operators': 'dist-compat/esm5_for_rollup/src/operators/index.js', - 'rxjs/webSocket': 'dist-compat/esm5_for_rollup/src/webSocket/index.js', - 'rxjs/ajax': 'dist-compat/esm5_for_rollup/src/ajax/index.js', - 'rxjs/fetch': 'dist-compat/esm5_for_rollup/src/fetch/index.js', - 'rxjs/internal-compatibility': 'dist-compat/esm5_for_rollup/src/internal-compatibility/index.js', - 'rxjs': 'dist-compat/esm5_for_rollup/src/index.js', - }, -}); diff --git a/tsconfig.json b/tsconfig.json index 841f5836db..f35d9f5fe5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,11 +3,14 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "rxjs": ["./src"], - "rxjs/*": ["./src/*", "./legacy-reexport/*"], - "rxjs-compat": ["./compat/index"], - "rxjs-compat/*": ["./compat/*"] + "rxjs": ["./src/index"], + "rxjs/operators": ["./src/operators/index"], + "rxjs/testing": ["./src/testing/index"], + "rxjs/ajax": ["./src/ajax/index"], + "rxjs/webSocket": ["./src/webSocket/index"], + "rxjs/fetch": ["./src/fetch/index"], + "rxjs/internal/*": ["./src/internal/*"] } }, - "exclude": ["./dist", "./dist-compat"] -} \ No newline at end of file + "exclude": ["./dist"] +} diff --git a/tsconfig/compat/tsconfig.base.json b/tsconfig/compat/tsconfig.base.json deleted file mode 100644 index f5fa3766a4..0000000000 --- a/tsconfig/compat/tsconfig.base.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "noEmit": false, - "baseUrl": "../../compat", - "sourceRoot": "../../compat", - "paths": { - "rxjs": ["../src/index"], - "rxjs/*": ["../src/*"], - "rxjs/internal-compatibility": ["../src/internal-compatibility/index"], - "rxjs/testing": ["../src/testing/index"], - "rxjs/ajax": ["../src/ajax/index"], - "rxjs/operators": ["../src/operators/index"], - "rxjs/webSocket": ["../src/webSocket/index"] - } - }, - "include": [ - "../../compat/**/*.ts" - ] -} \ No newline at end of file diff --git a/tsconfig/compat/tsconfig.cjs.json b/tsconfig/compat/tsconfig.cjs.json deleted file mode 100644 index 201a82a741..0000000000 --- a/tsconfig/compat/tsconfig.cjs.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "module": "commonjs", - "target": "es5", - "removeComments": false, - "declaration": true, - "declarationDir": "../../dist-compat/typings", - "outDir": "../../dist-compat/cjs" - } -} \ No newline at end of file diff --git a/tsconfig/compat/tsconfig.esm2015.json b/tsconfig/compat/tsconfig.esm2015.json deleted file mode 100644 index 27c524f4c9..0000000000 --- a/tsconfig/compat/tsconfig.esm2015.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "module": "es2015", - "target": "es2015", - "outDir": "../../dist-compat/esm2015" - } -} \ No newline at end of file diff --git a/tsconfig/compat/tsconfig.esm5.json b/tsconfig/compat/tsconfig.esm5.json deleted file mode 100644 index 41187707a4..0000000000 --- a/tsconfig/compat/tsconfig.esm5.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "module": "es2015", - "target": "es5", - "outDir": "../../dist-compat/esm5" - } -} \ No newline at end of file diff --git a/tsconfig/compat/tsconfig.esm5.rollup.json b/tsconfig/compat/tsconfig.esm5.rollup.json deleted file mode 100644 index aa4ce1fb5f..0000000000 --- a/tsconfig/compat/tsconfig.esm5.rollup.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig.esm5.json", - "compilerOptions": { - "outDir": "../../dist-compat/esm5_for_rollup", - "noEmitHelpers": true - } -} \ No newline at end of file diff --git a/tsconfig/tsconfig.base.json b/tsconfig/tsconfig.base.json index 9f53b1292d..2fe64707f1 100644 --- a/tsconfig/tsconfig.base.json +++ b/tsconfig/tsconfig.base.json @@ -17,10 +17,6 @@ "../src/operators/index.ts", "../src/testing/index.ts", "../src/webSocket/index.ts", - "../src/internal-compatibility/index.ts", - - // legacy entry-points - "../src/internal/Rx.ts", // umd entry-point "../src/internal/umd.ts" diff --git a/tsconfig/tsconfig.legacy-reexport.json b/tsconfig/tsconfig.legacy-reexport.json deleted file mode 100644 index 0768fa43de..0000000000 --- a/tsconfig/tsconfig.legacy-reexport.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "extends": "../tsconfig.base.json", - "compilerOptions": { - "module": "commonjs", - "target": "es5", - "removeComments": false, - "declaration": true, - "noEmit": false, - "outDir": "../dist/legacy-reexport", - "rootDir": "../legacy-reexport", - "baseUrl": "../legacy-reexport", - "sourceRoot": "../legacy-reexport", - "paths": { - "rxjs": ["../dist/typings/index"], - "rxjs/*": ["../dist/typings/*"], - "rxjs/internal-compatibility": ["../dist/typings/internal-compatibility/index"], - "rxjs/testing": ["../dist/typings/testing/index"], - "rxjs/ajax": ["../dist/typings/ajax/index"], - "rxjs/fetch": ["../dist/typings/fetch/index"], - "rxjs/operators": ["../dist/typings/operators/index"], - "rxjs/webSocket": ["../dist/typings/webSocket/index"], - "rxjs-compat": ["../dist-compat/typings/compat/Rx"], - "rxjs-compat/*": ["../dist-compat/typings/compat/*"] - } - }, - "include": [ - "../legacy-reexport" - ] -} diff --git a/tsconfig/tsconfig.migrations.json b/tsconfig/tsconfig.migrations.json deleted file mode 100644 index 8012315c33..0000000000 --- a/tsconfig/tsconfig.migrations.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "../tsconfig.base.json", - "compilerOptions": { - "noEmit": false, - "outDir": "../dist/migrations/update-6_0_0" - }, - "files": [ - // entry-points - "../migrations/update-6_0_0/index.ts" - ] -} diff --git a/tslint.json b/tslint.json index 765608b4be..02594eebf9 100644 --- a/tslint.json +++ b/tslint.json @@ -65,7 +65,6 @@ "src/ajax/", "src/fetch/", "src/internal/", - "src/internal-compatibility/", "src/operators/", "src/testing/", "src/webSocket/" @@ -76,4 +75,4 @@ "node_modules/tslint-etc/dist/rules", "node_modules/tslint-no-toplevel-property-access/rules" ] -} \ No newline at end of file +} diff --git a/wallaby.js b/wallaby.js index c3c7b2c882..63e1a70177 100644 --- a/wallaby.js +++ b/wallaby.js @@ -1,48 +1,47 @@ -module.exports = wallaby => ({ - files: [ - "tsconfig.base.json", - "tsconfig.json", - "migrations/**/*", - "legacy-reexport/**/*.ts", - "compat/**/*.ts", - "src/**/*.ts", - { pattern: "spec/helpers/*.ts", instrument: false, load: true } - ], - - tests: ["spec/**/*-spec.ts"], - - testFramework: { - type: "mocha", - path: "mocha" - }, - - env: { - type: "node" - }, - - workers: { initial: 2, regular: 1 }, - - setup: function (w) { - if (!global._tsconfigPathsRegistered) { - const tsConfigPaths = require("tsconfig-paths"); - tsConfigPaths.register(); - global._tsconfigPathsRegistered = true; +module.exports = function (wallaby) { + return ({ + files: [ + 'tsconfig.base.json', + 'tsconfig.json', + 'src/**/*.ts', + { pattern: 'spec/helpers/*.ts', instrument: false, load: true } + ], + + tests: ['spec/**/*-spec.ts'], + + testFramework: { + type: 'mocha', + path: 'mocha' + }, + + env: { + type: 'node' + }, + + workers: { initial: 2, regular: 1 }, + + setup: function (w) { + if (!global._tsconfigPathsRegistered) { + var tsConfigPaths = require('tsconfig-paths'); + tsConfigPaths.register(); + global._tsconfigPathsRegistered = true; + } + + // Global test helpers + global.mocha = require('mocha'); + global.Suite = global.mocha.Suite; + global.Test = global.mocha.Test; + + //delete global context due to avoid issue by reusing process + //https://github.com/wallabyjs/public/issues/536 + if (global.asDiagram) { + delete global.asDiagram; + } + + var mocha = wallaby.testFramework; + var path = require('path'); + require(path.resolve(w.projectCacheDir, 'spec/helpers/polyfills')); + mocha.ui(path.resolve(w.projectCacheDir, 'spec/helpers/testScheduler-ui')); } - - // Global test helpers - global.mocha = require("mocha"); - global.Suite = global.mocha.Suite; - global.Test = global.mocha.Test; - - //delete global context due to avoid issue by reusing process - //https://github.com/wallabyjs/public/issues/536 - if (global.asDiagram) { - delete global.asDiagram; - } - - const mocha = wallaby.testFramework; - const path = require("path"); - require(path.resolve(w.projectCacheDir, "spec/helpers/polyfills")) - mocha.ui(path.resolve(w.projectCacheDir, "spec/helpers/testScheduler-ui")); - } -}); + }); +};