Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

arrow-parens: false positive for generic arrow function #475

Closed
@OliverJAsh

Description

@OliverJAsh

What version of TypeScript are you using?
2.8.3

What version of typescript-eslint-parser are you using?
15.0.0

What code were you trying to parse?

// Unexpected error: arrow-parens
const bar = <T>(t: T) => {};
// No error as expected
const bar2 = function <T>(t: T) {};

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