-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
TypeScript 2.7.0-2018-01-19
Code
For the js:
class Circle {
constructor(radius) {
this.radius = radius
}
foo() {
return (rad)
}
}
Trigger suggestions at the end of rad
in return (rad)
Expected behavior:
Returned completion for radius
includes insertText
that turns the expression into (this.radius)
Actual behavior:
Returned completion does not include insertText:
{
"name": "radius",
"kind": "property",
"kindModifiers": "",
"sortText": "0"
},
{
"name": "radius",
"kind": "warning",
"kindModifiers": "",
"sortText": "1"
},
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue