Skip to content

Commit

Permalink
style(linting): clarify the type of 2nd argument of Operator<T, R>.ca…
Browse files Browse the repository at this point in the history
…ll()

- This commit is spin-off of ReactiveX#2104
  • Loading branch information
tetsuharuohzeki committed Nov 15, 2016
1 parent e0cf882 commit 974ffe8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Operator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Observable } from './Observable';
import { Subscriber } from './Subscriber';
import { TeardownLogic } from './Subscription';

export interface Operator<T, R> {
call(subscriber: Subscriber<R>, source: any): TeardownLogic;
call(subscriber: Subscriber<R>, source: Observable<T>): TeardownLogic;
}

0 comments on commit 974ffe8

Please sign in to comment.