• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ReactiveX / rxjs / 5065
97%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2017 03:33PM UTC
Jobs 1
Files 450
Run time 25s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5065

push

travis-ci

benlesh
fix(publishReplay): improved type inference for arguments (#2992)

* operator/publishReplay.ts:give type args to higherOrder call

operator/publishReplay delegates to operators/publishReplay. The call is
correct — *one* of the three overloads will be called, and it
doesn't matter which — but
the compiler has to choose one overload. This change provides the type
arguments explicitly so that the most general overload gets called. This
results in the the correct return type, `OperatorFunction<T, R>`.

* fix: give type args to higherOrder call in src/operator/publishReplay.ts

operator/publishReplay delegates to operators/publishReplay. The call is
correct &mdash; *one* of the three overloads will be called, and it
doesn't matter which &mdash; but
the compiler has to choose one overload. Previously, the call didn't
include type arguments, and the type of the one argument that would be
used for inference, selectorOrScheduler, was of type `any`. So the
compiler chose the first overload with four parameters. However, the
return type of this overload is incorrect, whereas the return type of the
third overload is correct. Provide the type
arguments explicitly so that the last, most general overload gets called. This
results in the the correct return type, `OperatorFunction<T, R>`.

Closes #2991

1801 of 2117 branches covered (85.07%)

7039 of 7227 relevant lines covered (97.4%)

688.75 hits per line

Jobs
ID Job ID Ran Files Coverage
2 5065.2 (NODE_VER=6 FULL_VALIDATE=true alias grunt=./node_modules/grunt-cli/bin/grunt) 25 Oct 2017 03:33PM UTC 0
97.4
Travis Job 5065.2
Source Files on build 5065
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5065
  • 0753ff7a on github
  • Prev Build on master (#5064)
  • Next Build on master (#5066)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc