Indentation formatting nested destructering is incorrect #16869
Labels
Bug
A bug in TypeScript
Domain: Formatter
The issue relates to the built-in formatter
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 2.4.1
Code
Provided the following code:
After formatting, the function will be:
The
f
andh
in the destruct are unidented one position.When I add a destruct before the
d
(for examplec
), then the formatting is correct.Example: https://goo.gl/9JqSRu right click -> Format Code
(original issue was posted here: vvakame/typescript-formatter#105)
The text was updated successfully, but these errors were encountered: