JamesHenry / typescript-estree

:sparkles: A parser that converts TypeScript source code into an ESTree-compatible form
https://jameshenry.blog
Other
84 stars 13 forks source link

fix: parenthesized expressions are not eligible for directive #103

Closed JamesHenry closed 5 years ago

JamesHenry commented 5 years ago

fixes https://github.com/JamesHenry/typescript-estree/issues/102

JamesHenry commented 5 years ago

@armano2 Without the information being available in the AST, this seems to be the only real way to detect it

armano2 commented 5 years ago

this is good catch 👍

i don't see any other option for it to :(

JamesHenry commented 5 years ago

:tada: This PR is included in version 13.5.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: