-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
Domain: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.Experience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone

Description
TypeScript Version: 3.2.0-dev.20181004
Code
type T = {
x: number;
}
function f(t: T) {
t.y;
}
Expected behavior:
Code fix to add y
to the type literal.
Actual behavior:
No code fix. There is one if we use interface
.
This issue should also include getting this to work for types defined in jsdoc syntax.
a-tarasyuk
Metadata
Metadata
Assignees
Labels
Domain: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.Experience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsSuggestionAn idea for TypeScriptAn idea for TypeScript