Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Typescript file highlight breaks on arrow functions that are multiline #751

Copy link
Copy link
@RyuuGan

Description

@RyuuGan
Issue body actions
  • VSCode Version: 1.35.1 - c7d83e57cd18f18026a8162d042843bda1bcf21f - x64
  • OS Version: Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64

Steps to Reproduce:

In typescript file next code breaks the highlights for the rest of the file.

export const o: any = {
  shortValuationPdfUuid: (
  ): Array<Map<string, number>> => {
    return [];
  },
  
}

It works properly if the definition of the function is one line like shortValuationPdfUuid: (): Array<Map<string, number>> or it is like an ordinary function like

export const o: any = {
  shortValuationPdfUuid(
  ): Array<Map<string, number>> {
    return [];
  },
}

Does this issue occur when all extensions are disabled?: Yes

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.