Skip to content

Extra indent added after multi-line destructured assignment #19167

Closed
@mjbvz

Description

@mjbvz

From microsoft/vscode#36248

TypeScript Version: 2.6.0-dev.20171013

Code
Format the code:

const {
    a
} = parseInt(
    '12'
)

Expected behavior:

const {
    a
} = parseInt(
    '12'
)

Actual behavior:
Extra indent added:

const {
    a
} = parseInt(
        '12'
    )

Similar to #17699

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterHelp WantedYou can do thisVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions