-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Improve completions at x <
(type arguments or less than)
#23631
New issue
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
Comments
I think this is more of signature help. we used to have this in TS 1.0, but never rewrote the feature. the idea is it treats |
As noted by @sheetalkamat in #23632 (comment) there is a function |
Signature help part done in #24138 |
TypeScript Version: master
Code
Expected behavior:
If
x
is a number or string, get completions for values.If
x
is a function, get completions for types.Actual behavior:
Get completions for both.
The text was updated successfully, but these errors were encountered: