Optional and already-fulfilled properties should have lower priorities than required properties #29868
Labels
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Effort: Moderate
Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
I ran into this while trying to implement TypeScript's
ParseConfigFileHost
with an object spread, and I've been seeing this come up in my experience in general.Expected: Completions show
b
,d
,a
,c
.Actual: Completions show
a
,b
,c
,d
.Furthermore, already fulfilled properties should be even lower than optional properties.
Expected:
d
,c
,a
,b
Actual:
a
,b
,c
,d
The text was updated successfully, but these errors were encountered: