-
-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What we want
We will make it so that the "clear" / "change" action, when applied to "type", if there is no existing type annotation, will insert a :
and leave the cursor afterwords so that the user can add a type.
For example:
function foo() {
return "hello" // cursor at end of this line
}
User says “change type”, results in
function foo(): <cursor-here> {
return "hello"
}
Implementation
We will leverage #210 to make it so that target returned from "type" knows how to insert itself
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request