Skip to content

Lambda function with line break before parentheses produces wrong syntax highlight on the parameters #1053

Description

@Quicksilver0218

JavaScript and TypeScript Nightly version: 5.9.20250330

Code

const clearSet =
(
  set: Set<string>
) => {}

Result

Image

It is normal without the line break.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions