-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(Subscription): remove the type parameter from Subscription
#1065
Conversation
@@ -1,14 +1,14 @@ | |||
import {noop} from './util/noop'; | |||
|
|||
export class Subscription<T> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, makes sense to me. 👍
Yes, this seems quite legit to me too. |
@@ -3,8 +3,8 @@ import {Subject} from '../Subject'; | |||
import {Subscriber} from '../Subscriber'; | |||
import {Observable} from '../Observable'; | |||
|
|||
export class RefCountSubscription<T> extends Subscription<T> { | |||
primary: Subscription<T>; | |||
export class RefCountSubscription<T> extends Subscription { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can also remove the type parameter from RefCountSubscription<T>
. What do you think?
okay. I removed them! |
LGTM. |
Change looks good to me too. |
This type parameter is not used.
…untSubscription`.
…InnerRefCountSubscription`.
rebased! I resolved the conflict |
LGTM. cc/ @kwonoj |
I'll check in this today. |
Actually, doing it now... |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This type parameter is not used actually.