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.

TS 2.6.2: Error: Unknown AST_NODE_TYPE: "TSFirstContextualKeyword" #407

Closed
@duailibe

Description

@duailibe

What version of TypeScript are you using?
2.6.2

What version of typescript-eslint-parser are you using?
master (9.0.0)

What code were you trying to parse?

export private public protected static readonly abstract async enum X {}

What did you expect to happen?
AST should have a TSAbstractKeyword node in modifiers array

What happened?
AST does not have a TSAbstractKeyword node and errors with Error: Unknown AST_NODE_TYPE: "TSFirstContextualKeyword".

That's related to the lines in: TS source

I can get a PR for this if you think we should fix this here.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions