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 is mostly solved by #34855, except the bogus a completion is still there. I think @DanielRosenwasser told me we attempt to filter out object literal completions that are exactly what you’ve already typed, but I’ve noticed them come up basically all the time, so either that filtering is very broken or does not indeed exist.
I’ll keep this open until #34855 is merged and then will fix the superfluous completion afterwards or separately.
andrewbranch
changed the title
No suggestions for optional property of extended type
Generic object literal completions include any random member you’re currently typing
Dec 16, 2019
From microsoft/vscode#85185
TypeScript Version: 3.8.0-dev.20191121
Search Terms:
Code
For the code:
Trigger suggestions after
a
in the call totest
.Expected behavior:
Suggestion for
autoIncrement
returned.Actual behavior:
No suggestion for
autoIncrement
. Only a single suggestion fora
is returnedThe text was updated successfully, but these errors were encountered: