We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Calling .next() with no arguments like this
.next()
new Observable((observer) => { observer.next() }
shows error
Expected 1 arguments, but got 0.ts(2554) Subscriber.d.ts(42, 10): An argument for 'value' was not provided.
No breaking changes in patch version updates.
7.8.2
Duplicate of #7534.
The text was updated successfully, but these errors were encountered:
I guess now you have to explicitly specify the generic type:
new Observable<void>((observer) => { observer.next() }
Either the default generic should be set to void (class Observable<T = void>) for the Observable or this breaking change should be postponed until v8.
void
class Observable<T = void>
Observable
v8
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Calling
.next()
with no arguments like thisshows error
Expected behavior
No breaking changes in patch version updates.
Version
7.8.2
Additional context
Duplicate of #7534.
The text was updated successfully, but these errors were encountered: