fix(subscriber): strict type signature for next method#7172
fix(subscriber): strict type signature for next method#7172benlesh merged 3 commits intoReactiveX:7.xfrom
Conversation
BREAKING CHANGE: Subscriber.next now takes strict argument
510ab94 to
ba2b0b1
Compare
|
Yay! I almost forgot we were waiting for v8 for this one. |
|
Awesome! Thanks for approving! |
|
@benlesh tests are fixed 🤌 |
|
@benlesh could you review, please? |
|
@benlesh just a friendly reminder ;) would love this to land in |
|
Hello! Sorry, I can't do more I'm not in the team 😅 |
|
@benlesh, is this merged to |
|
@jakovljevic-mladen @benlesh I expected this to land on 7.x 🤔 |
|
@jakovljevic-mladen honestly, I didn't notice, but I'm generally okay with this as a "fix" in 7.x. I'll go back and have a look to double check, but I think this is a valid bug fix, as people should not be calling |
Description:
This PR fixes type signature of
Subscriber.prototype.nextmethod that was previously taking optional argument which was violating generic constraintT.BREAKING CHANGE:
Subscriber.prototype.nextnow takes strict argument.Related issue (if exists): #2852
Additional changes:
7.8.0(runningnpm i)