Skip to content

[ES6] Inline argument type for arrow function requires parentheses #1309

@calebegg

Description

@calebegg

Inline (/** Foo */-style) type annotations are ignored for single-argument arrow functions unless the (normally optional) parentheses are included around the argument.

See demo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions