Skip to content

Commit

Permalink
fix(Subscriber): avoid implicit any
Browse files Browse the repository at this point in the history
  • Loading branch information
robwormald authored and benlesh committed Oct 14, 2015
1 parent 71d90b4 commit 08faaa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Subscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export default class Subscriber<T> extends Subscription<T> implements Observer<T

private _isUnsubscribed: boolean = false;

static create<T>(next ?: (x?) => void,
error ?: (e?) => void,
static create<T>(next ?: (x?:any) => void,
error ?: (e?:any) => void,
complete?: () => void): Subscriber<T> {
const subscriber = new Subscriber<T>();
subscriber._next = (typeof next === "function") && tryOrOnError(next) || noop;
Expand Down

0 comments on commit 08faaa9

Please sign in to comment.