You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't believe that this is an RxJS problem. Rather, I think it is more likely to be a TypeScript issue.
I tried to reproduce this behavior without rxjs but without success
I would suggest you try reproducing the problem in the TypeScript Playground and reporting it as a TypeScript problem if/when you are able to do so. You can use this Playground as a starting point. As long as the types have a similar structure to what's in RxJS, it should be reproducible.
Bug Report
Current Behavior
Pipe operator resolves type to
never
instead of correct type of ObservableExpected behavior
Operators' types should be resolved correctly.
The correct type inferred from generic correctly
Reproduction
https://codesandbox.io/s/ts-rx-generics-types-issue-forked-olcxu?file=/src/index.ts
Environment
Additional context/Screenshots
I tried to reproduce this behavior without rxjs but without success so seems like its somehow relates to rxjs pipe
The text was updated successfully, but these errors were encountered: