Skip to content

fix(Observable): Update typings of pipe#3789

Merged
benlesh merged 1 commit intoReactiveX:masterfrom
akehir:fix-observable-pipe-typings
Jun 5, 2018
Merged

fix(Observable): Update typings of pipe#3789
benlesh merged 1 commit intoReactiveX:masterfrom
akehir:fix-observable-pipe-typings

Conversation

@akehir
Copy link
Contributor

@akehir akehir commented Jun 5, 2018

Description:
Added <any, any>[] as tyings for the generic type of operators provided to the pipe, as
OperatorFunctions can transform the type.

The fix is as suggested by @cartant here: #3766 (comment)

Travis CI passes for typescript current, but not for next (not related to my change): https://travis-ci.org/akehir/rxjs/builds/388179712

Related issue (if exists):
#3766

Added <any, any>[] as tyings for the generic type of operators provided to the pipe, as
OperatorFunctions can transform the type.

3766
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 96.862% when pulling 20e2d72 on akehir:fix-observable-pipe-typings into db2ac69 on ReactiveX:master.

@cartant cartant requested a review from david-driscoll June 5, 2018 10:24
@benlesh benlesh merged commit ad010ea into ReactiveX:master Jun 5, 2018
@benlesh
Copy link
Member

benlesh commented Jun 5, 2018

LGTM... Thanks, @akehir!

@lock lock bot locked as resolved and limited conversation to collaborators Jul 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants