Skip to content

Broken syntax highlighting for multiline function args in typescript #29267

@marvinhagemeister

Description

@marvinhagemeister

Do you have a question? Please ask it on Stack Overflow with vscode tag

(Use Help > Report Issues to prefill these)

  • VSCode Version: 1.14.0-insider d5e10a5
  • OS Version: MacOS Sierra 10.12.5

Steps to Reproduce:

  1. open vscode
  2. paste this snippet:
export const toPdf = (renderer: Renderer) => <P>(
  document: Doc<P>,
): Promise<string> => {
  return renderer(document.html, document.config);
};

// compared to
export const toPdf = (renderer: Renderer) => <P>(document: Doc<P>): Promise<string> => {
  return renderer(document.html, document.config);
};

Metadata

Metadata

Assignees

Labels

typescriptTypescript 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