Skip to content

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

@christianbradley

Description

@christianbradley

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"
}

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions