Skip to content

Typescript syntax highlighting fails for arrow functions with multiline arguments #550

@mjbvz

Description

@mjbvz

From @christianbradley on December 12, 2017 18:57

Visual Studio Code 1.18.1
Typescript 2.6.2

See example below:

export const foo = (firstVariable: string, secondVariable: number): string => {
    return "foo"
}

export const bar = (
    firstVariable: string,
    secondVariable: number,
    thirdVariable: string
): string => {
    return "baz"
}

Copied from original issue: microsoft/vscode#40129

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions