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
Description
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.