Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Parentheses added for async function with single param #679

Closed
@cknitt

Description

@cknitt
let f = async a => a

gets formatted to

let f = async (a) => a

Is this intentional? Because for non-async functions we are not adding parentheses automatically, but keep let f = a => a.

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