Skip to content

Commit

Permalink
refactor(retry): change extends Operator to implements Operator
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Aug 26, 2015
1 parent 92abb6d commit d565115
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/operators/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ export default function retry<T>(count: number = 0): Observable<T> {
return this.lift(new RetryOperator(count, this));
}

export class RetryOperator<T, R> extends Operator<T, R> {
export class RetryOperator<T, R> implements Operator<T, R> {
constructor(private count: number, protected original:Observable<T>) {
super();
}

call(observer: Observer<T>): Observer<T> {
Expand Down

0 comments on commit d565115

Please sign in to comment.