Skip to content

Conversation

@ArnaudBarre
Copy link

Given it can only be the child of a JsxElement, I think it's a mistake to mark it as an Expression

Copilot AI review requested due to automatic review settings January 11, 2026 19:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the type hierarchy for JsxOpeningElement to reflect that it is a structural component of a JSX element rather than a standalone expression.

Changes:

  • Updated JsxOpeningElement interface to extend Node instead of Expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant