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
This worked in 3.5 and was broken by #25937. I'm thinking it is possible to recognize cases where the new logic in #25937 can be circumvented because it will have no effect anyway.
TypeScript Version: 3.6.3 - 3.8.0-dev.20191031
Search Terms: parameter, inference, order, generic, function expression, function declaration
Code
Expected behavior:
deps
should be inferred astypeof DEPS
in negative testActual behavior:
deps
inferred as unknownPlayground Link: link
Related Issues: I guess, the fix of #32230 bug led to the appearance of this bug
The text was updated successfully, but these errors were encountered: