Uh oh!
There was an error while loading. Please reload this page.
JsxTagNameExpression can only be Identifier | ThisExpression, not any PrimaryExpression - #21555
JsxTagNameExpression can only be Identifier | ThisExpression, not any PrimaryExpression#215557 commits merged into
Conversation
I mean, while you're at it, it seems like |
Ron Buckton (rbuckton)
left a comment
There was a problem hiding this comment.
This is fine, but as Ben Lichtman (@uniqueiniquity) mentioned, if we're that concerned about strictness here then we would probably want to add a:
exporttypeJsxTagNameExpression=Identifier|ThisExpression|JsxMemberExpression;exportinterfaceJsxMemberExpressionextendsPropertyAccessExpression{expression: JsxTagNameExpression;}Deleted user (ghost)
commented
Feb 2, 2018
I think we could just use |
Deleted user (ghost)
commented
Feb 5, 2018
Ben Lichtman (@uniqueiniquity)Ron Buckton (@rbuckton) Please re-review |
909cc64 to
a441800CompareTypeScript Bot (typescript-bot)
commented
Jun 13, 2018
Thanks for your contribution. This PR has not been updated in a while and cannot be automatically merged at the time being. For housekeeping purposes we are closing stale PRs. If you'd still like to continue working on this PR, please leave a message and one of the maintainers can reopen it. |
Deleted user (ghost)
commented
Jun 14, 2018
Ben Lichtman (@uniqueiniquity)Ron Buckton (@rbuckton) Please re-review |
Noticed this while looking at some jsx-using code -- we were typing this as
PrimaryExpressionbut could be a lot more strict.