This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
Missing name for this
in <this.Component />
#337
Labels
this
in <this.Component />
#337
This is sort of a clone of #307. The fix for that PR fixed
<this.state.Component />
but not<this.Component />
What version of TypeScript are you using?
2.3.2
What version of
typescript-eslint-parser
are you using?4.0.0
What code were you trying to parse?
What did you expect to happen?
To have "name": "this" on JSXIdentifier.
What happened?
The identifier for
this
does not have a name:Script I used to get the AST:
The text was updated successfully, but these errors were encountered: