-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
- P4: importantViolate documented behavior or significantly improves performance (priority)Violate documented behavior or significantly improves performance (priority)feat: tsxRelated to the TSX output (scope)Related to the TSX output (scope)
Description
Astro Info
Astro v5.0.2
Node v20.15.0
System Linux (arm64)
Package Manager npm
Output server
Adapter @astrojs/node
Integrations none
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
<></> notation is reported as an error in npx astro check.
error ts(2604): Component '< >' is not a valid component.
If this is a Svelte or Vue component, it might have a syntax error that makes it impossible to parse.
There is no error in typescript@5.6.3
What's the expected result?
No errors
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-bhs7qr-52hbdf?file=package.json
Participation
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly improves performance (priority)Violate documented behavior or significantly improves performance (priority)feat: tsxRelated to the TSX output (scope)Related to the TSX output (scope)