Sort @deprecated completions lower than others #43796
Labels
Committed
The team has roadmapped this issue
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Fix Available
A PR has been opened for this issue
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
If we do #43710, the first thing you'll see every time you request completions on a string is a bunch of crossed-out properties. Ideally, we never would've shown these properties anyway, but we traditionally had to have them there because ES6.
Originally posted by @DanielRosenwasser in #43710 (comment)
__
@deprecated
has its own NodeFlags entry right now, so you just have to use the rules from the checker to decide if the signature as a whole should be considered deprecated (basically, whether all the signature's declarations are deprecated). I don't know the sort order code but I assume it would be easy.Originally posted by @sandersn in #43710 (comment)
The text was updated successfully, but these errors were encountered: