Skip to content

Commit

Permalink
refactor(SubjectSubscription): remove 'any' type from SubjectSubscrip…
Browse files Browse the repository at this point in the history
…tion. (#1747)
  • Loading branch information
Tetsuharu OHZEKI authored and benlesh committed Jun 7, 2016
1 parent da91d6a commit fa77f28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SubjectSubscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import {Subscription} from './Subscription';
* @ignore
* @extends {Ignored}
*/
export class SubjectSubscription extends Subscription {
export class SubjectSubscription<T> extends Subscription {
isUnsubscribed: boolean = false;

constructor(public subject: Subject<any>, public subscriber: Observer<any>) {
constructor(public subject: Subject<T>, public subscriber: Observer<T>) {
super();
}

Expand Down

0 comments on commit fa77f28

Please sign in to comment.