Skip to content

Commit

Permalink
fix(operators): emit declarations for patch modules
Browse files Browse the repository at this point in the history
  • Loading branch information
robwormald committed Dec 10, 2015
1 parent cd217a0 commit 676f82d
Show file tree
Hide file tree
Showing 105 changed files with 210 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/add/observable/bindCallback.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {BoundCallbackObservable} from '../../observable/bindCallback';
Observable.bindCallback = BoundCallbackObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/defer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {DeferObservable} from '../../observable/defer';
Observable.defer = DeferObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/empty.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {EmptyObservable} from '../../observable/empty';
Observable.empty = EmptyObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/forkJoin.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {ForkJoinObservable} from '../../observable/forkJoin';
Observable.forkJoin = ForkJoinObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/from.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {FromObservable} from '../../observable/from';
Observable.from = FromObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/fromArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ import {Observable} from '../../Observable';
import {ArrayObservable} from '../../observable/fromArray';
Observable.fromArray = ArrayObservable.create;
Observable.of = ArrayObservable.of;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/fromEvent.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {FromEventObservable} from '../../observable/fromEvent';
Observable.fromEvent = FromEventObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/fromEventPattern.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {FromEventPatternObservable} from '../../observable/fromEventPattern';
Observable.fromEventPattern = FromEventPatternObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/fromPromise.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {PromiseObservable} from '../../observable/fromPromise';
Observable.fromPromise = PromiseObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/interval.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {IntervalObservable} from '../../observable/interval';
Observable.interval = IntervalObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/never.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {InfiniteObservable} from '../../observable/never';
Observable.never = InfiniteObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/range.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {RangeObservable} from '../../observable/range';
Observable.range = RangeObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/throw.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {ErrorObservable} from '../../observable/throw';
Observable.throw = ErrorObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/observable/timer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {TimerObservable} from '../../observable/timer';
Observable.timer = TimerObservable.create;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/buffer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {buffer} from '../../operator/buffer';
Observable.prototype.buffer = buffer;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/bufferCount.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {bufferCount} from '../../operator/bufferCount';
Observable.prototype.bufferCount = bufferCount;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/bufferTime.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {bufferTime} from '../../operator/bufferTime';
Observable.prototype.bufferTime = bufferTime;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/bufferToggle.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {bufferToggle} from '../../operator/bufferToggle';
Observable.prototype.bufferToggle = bufferToggle;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/bufferWhen.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {bufferWhen} from '../../operator/bufferWhen';
Observable.prototype.bufferWhen = bufferWhen;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/catch.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {_catch} from '../../operator/catch';
Observable.prototype.catch = _catch;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/combineAll.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {combineAll} from '../../operator/combineAll';
Observable.prototype.combineAll = combineAll;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/combineLatest-static.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {combineLatest} from '../../operator/combineLatest-static';
Observable.combineLatest = combineLatest;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/combineLatest.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {combineLatest} from '../../operator/combineLatest';
Observable.prototype.combineLatest = combineLatest;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/concat-static.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {concat} from '../../operator/concat-static';
Observable.concat = concat;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/concat.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {concat} from '../../operator/concat';
Observable.prototype.concat = concat;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/concatAll.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {concatAll} from '../../operator/concatAll';
Observable.prototype.concatAll = concatAll;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/concatMap.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {concatMap} from '../../operator/concatMap';
Observable.prototype.concatMap = concatMap;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/concatMapTo.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {concatMapTo} from '../../operator/concatMapTo';
Observable.prototype.concatMapTo = concatMapTo;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/count.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {count} from '../../operator/count';
Observable.prototype.count = count;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/debounce.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {debounce} from '../../operator/debounce';
Observable.prototype.debounce = debounce;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/debounceTime.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {debounceTime} from '../../operator/debounceTime';
Observable.prototype.debounceTime = debounceTime;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/defaultIfEmpty.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {defaultIfEmpty} from '../../operator/defaultIfEmpty';
Observable.prototype.defaultIfEmpty = defaultIfEmpty;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/delay.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {delay} from '../../operator/delay';
Observable.prototype.delay = delay;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/dematerialize.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {dematerialize} from '../../operator/dematerialize';
Observable.prototype.dematerialize = dematerialize;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/distinctUntilChanged.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {distinctUntilChanged} from '../../operator/distinctUntilChanged';
Observable.prototype.distinctUntilChanged = distinctUntilChanged;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/do.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {_do} from '../../operator/do';
Observable.prototype.do = _do;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/every.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {every} from '../../operator/every';
Observable.prototype.every = every;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/exhaust.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {exhaust} from '../../operator/exhaust';
Observable.prototype.exhaust = exhaust;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/exhaustMap.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {exhaustMap} from '../../operator/exhaustMap';
Observable.prototype.exhaustMap = exhaustMap;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/expand.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {expand} from '../../operator/expand';
Observable.prototype.expand = expand;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/distinctUntilKeyChanged.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {distinctUntilKeyChanged} from '../../../operator/extended/distinctUntilK
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.distinctUntilKeyChanged = distinctUntilKeyChanged;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/elementAt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {elementAt} from '../../../operator/extended/elementAt';
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.elementAt = elementAt;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/find.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {find} from '../../../operator/extended/find';
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.find = find;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/findIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {findIndex} from '../../../operator/extended/findIndex';
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.findIndex = findIndex;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/isEmpty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {isEmpty} from '../../../operator/extended/isEmpty';
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.isEmpty = isEmpty;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/max.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {max} from '../../../operator/extended/max';
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.max = max;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/mergeScan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {mergeScan} from '../../../operator/extended/mergeScan';
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.mergeScan = mergeScan;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/min.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {min} from '../../../operator/extended/min';
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.min = min;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/extended/timeInterval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import {timeInterval} from '../../../operator/extended/timeInterval';
import {KitchenSinkOperators} from '../../../Rx.KitchenSink';
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype);
observableProto.timeInterval = timeInterval;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/filter.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {filter} from '../../operator/filter';
Observable.prototype.filter = filter;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/finally.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {_finally} from '../../operator/finally';
Observable.prototype.finally = _finally;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/first.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {first} from '../../operator/first';
Observable.prototype.first = first;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/groupBy.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {groupBy} from '../../operator/groupBy';
Observable.prototype.groupBy = groupBy;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/ignoreElements.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {ignoreElements} from '../../operator/ignoreElements';
Observable.prototype.ignoreElements = ignoreElements;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/last.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {last} from '../../operator/last';
Observable.prototype.last = last;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/map.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {map} from '../../operator/map';
Observable.prototype.map = map;

export var _void: void;
2 changes: 2 additions & 0 deletions src/add/operator/mapTo.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {Observable} from '../../Observable';
import {mapTo} from '../../operator/mapTo';
Observable.prototype.mapTo = mapTo;

export var _void: void;
Loading

0 comments on commit 676f82d

Please sign in to comment.