VSCode Intellisense: prioritize values whose types match function parameters
When calling a fully typed function in Typescript, autocomplete shows me all variables without prioritizing those whose type exactly matches.
I understand this is a little tricky, since a variable whose type does not match could still contain an internal value whose type does match. But prioritizing variables whose type definitely matches would be useful. And excluding variables whose types definitely don't match (when considering internal properties) would be extremely helpful.
Is there a way to get this behavior in VSCode?
See an example in the Typescript Playground, where hitting the autocomplete-hint hotkey pulls up the list of all variables without any sort or default preference given to those that match argument type.