Skip to content

Incorrect parsing for contextual keyword async #678

@svr93

Description

@svr93

What code were you trying to parse?

import { TestBed, async } from '@angular/core/testing';

What did you expect to happen?
token type Identifier with value async

What actually happened?
token type Keyword with value async

Versions

package version
@typescript-eslint/typescript-estree 1.11.0
TypeScript 3.4.5
node 10.14.2
npm 6.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas prthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions