Skip to content

Broken syntax highlighting when combine overloading and export default #57889

@HitalloExiled

Description

@HitalloExiled
  • VSCode Version: 1.26.1
  • OS Version: Windows 10

Steps to Reproduce:

//index.ts
export default function foo(): void;
export default function foo(bar: string): void;
export default function foo(bar?: string): void
{ }

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

Metadata

Metadata

Assignees

Labels

grammarSyntax highlighting grammarjavascriptJavaScript 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