Formatting Inserts Extra Space in JSX Element With Function Parameter #12456
Labels
Domain: Formatter
The issue relates to the built-in formatter
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Suggestion
An idea for TypeScript
VS Code Tracked
There is a VS Code equivalent to this issue
Milestone
From microsoft/vscode#15929
TypeScript: 2.0.10 and 2.2.0-dev.20161121
With a jsx file:
Expected
Running formatting on the document does nothing in this case.
Actual
An extra space is inserted between the two
}
characters:This is inconsistent with how formatting works for other argument types. The issue seems similar to #9823
The text was updated successfully, but these errors were encountered: