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.

DeleteExpression and VoidExpression are not translated to ESTree UnaryExpression #171

Closed
@soda0289

Description

@soda0289

What version of TypeScript are you using?
2.2.1

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

What code were you trying to parse?

const a = {foo: 'bar'};
void 4;
delete a.foo;

What did you expect to happen?
Should generate ESTree node UnaryExpression with correct operator.

What happened?
Incorrect node is generated

Will post example later today. Should be simple fix.

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