-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
Experience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
π Search Terms
spread complete
π Version & Regression Information
- This is the behavior in every version I tried
β― Playground Link
π» Code
const foo = { b: 1 };
const bar: {
a: number;
b: number;
} = {
a: 1,
... // Trigger auto complete here
};
π Actual behavior
And if you use this completion, the code will become ...,b
.
π Expected behavior
Should complete foo
, not b
.
Additional information about the issue
The type annotation is necessary to reproduce this issue.
Metadata
Metadata
Assignees
Labels
Experience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsSuggestionAn idea for TypeScriptAn idea for TypeScript