-
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
fix(operator/do): fix typings #2022
Conversation
This looks ok to me, @david-driscoll is this caused by script running? or current state is expected? |
This looks fine to me, pending @david-driscoll's approval (because it's typings related) |
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.
One more change, then this is good.
@@ -48,7 +48,7 @@ import { TeardownLogic } from '../Subscription'; | |||
* @owner Observable | |||
*/ | |||
/* tslint:disable:max-line-length */ | |||
export function _do<T>(next: (x: T) => void, error?: (e: any) => void, complete?: (this: Observable<T>) => void): Observable<T>; | |||
export function _do<T>(this: Observable<T>, next: (x: T) => void, error?: (e: any) => void, complete?: (this: Observable<T>) => void): Observable<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.
definitely something I missed with the script. This needs to be changed slightly, note the additional this: Observable<T>
.
complete?: (this: Observable<T>) => void
should be changed back to complete?: () => void
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.
fixed
448c4e0
to
9a40297
Compare
LGTM |
LGTM |
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. |
Description:
Related issue (if exists):