-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do thisVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
TypeScript Version: 2.7.0-dev.20171203
Code
class Test {
constructor(@foo props: any) {
}
}
Run format
Expected behavior:
No change
Actual behavior:
Space added:
class Test {
constructor( @foo props: any) {
}
}
[Trace - 11:54:15 AM] Response received: format (92). Request took 4 ms. Success: true
Result: [
{
"start": {
"line": 2,
"offset": 17
},
"end": {
"line": 2,
"offset": 17
},
"newText": " "
}
]
aluanhaddad, HerringtonDarkholme, reduckted and mprx345
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do thisVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue