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
Current Behavior Typings for connectableObservable when using publish are wrong
Reproduction
import { of, ConnectableObservable,timer } from 'rxjs'; import { map, publish } from 'rxjs/operators'; const stall$: ConnectableObservable<number> = timer(100).pipe(publish()); stall$.connect();
There is a TS error on declaration of stall$
Expected behavior Should infer the type w/o annotating. If I do chose to annotate, no type error should occur.
The text was updated successfully, but these errors were encountered:
I think it's a duplicate of #2972
Sorry, something went wrong.
Closing as dupe as commented.
No branches or pull requests
Bug Report
Current Behavior
Typings for connectableObservable when using publish are wrong
Reproduction
https://stackblitz.com/edit/rxjs-nsj1hs?file=index.ts
There is a TS error on declaration of stall$
Expected behavior
Should infer the type w/o annotating. If I do chose to annotate, no type error should occur.
The text was updated successfully, but these errors were encountered: