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 think this @deprecated note is incorrect. Without the generic typescript can't infer the type.
/** @deprecated Do not specify explicit type parameters. Signatures with type parameters that cannot be inferred will be removed in v8. */exportfunctionfromEvent<T>(target: NodeStyleEventEmitter|ArrayLike<NodeStyleEventEmitter>,eventName: string): Observable<T>;
Same for:
/** @deprecated Do not specify explicit type parameters. Signatures with type parameters that cannot be inferred will be removed in v8. */exportdeclarefunctionfromEvent<T>(target: NodeCompatibleEventEmitter|ArrayLike<NodeCompatibleEventEmitter>,eventName: string): Observable<T>;
Also should probably ADD @deprecated warnings for the overloads with resultSelector.
Describe the bug
I think this @deprecated note is incorrect. Without the generic typescript can't infer the type.
Same for:
Also should probably ADD @deprecated warnings for the overloads with resultSelector.
Expected behavior
It should be like
which is similar generic signature but not deprecated ¯_(ツ)_/¯
Reproduction code
No response
Reproduction URL
No response
Version
7.8.1
Environment
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: