Skip to content

Incorrect parsing for contextual keyword is #749

@mrm-rideos

Description

@mrm-rideos

This is the same issue as #678, credit to @svr93 for the description. It seems the is keyword needs to be added as part of that fix as well. I'll attempt a PR as well.

What code were you trying to parse?

import { Map, is } from 'immutable'

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

What actually happened?
token type Keyword with value is

Versions

package version
@typescript-eslint/typescript-estree 1.13.0
TypeScript 3.5.3
node 10.15.3
npm 6.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: typescript-estreeIssues related to @typescript-eslint/typescript-estreetriageWaiting for team members to take a look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions