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.

Parse error on arrow function with type parameters #392

Closed
@mightyiam

Description

@mightyiam

What version of TypeScript are you using?

2.5.3

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

8.0.0

What code were you trying to parse?

<T>() => {
  return null
}

What did you expect to happen?

Happy happy parse parse. I notice we have this fixture but... error.

What happened?

/home/shahar/src/pick-path/src/parsing-error.ts
  2:2  error  Parsing error: Expression expected

✖ 1 problem (1 error, 0 warnings)

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