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
According to the unit tests for pipe(), type should not be enforced beyond the 9th argument.
But the signature for pipe() with more than 9 arguments returns an Observable<unknown>. It should rather return a Observable<any> as the type safety of "unknown" can't be verified here at compilation time anyway.
Describe the bug
the following code is correct, but will generate a false error
Error:
commenting any of
tap()
blocks causes the error to be disappeared.also, explicitly set the type again resolves the error. but TS can infer the type easily
Expected behavior
no error
Reproduction code
No response
Reproduction URL
https://stackblitz.com/edit/rxjs-jvajmd?devtoolsheight=60&file=index.ts,tsconfig.json
Version
next
Environment
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: