Skip to content

Format: lambda with wrong indent #1925

Closed
@bpasero

Description

@bpasero

Have code like the following:

export class Foo {
    protected bar() {
        return new Something((c, e, p) => {

        }, function () {
            // goes wrong
        });
    }
}

Format it

You end up with:

export class Foo {

    protected bar() {
        return new Something((c, e, p) => {

        }, function () {
                // goes wrong
            });
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions