What version of @astrojs/compiler are you using?
2.1.0
What package manager are you using?
pnpm
What operating system are you using?
macOS
Describe the Bug
The following code:
<div></div>
<div class="something"
results in the following TSX:
<Fragment>
<div></div>{`
<div class="fdsfs"
`}
</Fragment>
Not quite sure why it does that, but it breaks type checking and completions (which can work even on a malformed tag). Closing the tag <div class="fdsfs"> will fix it, but since this is editor tooling, you shouldn't have to.
Link to Minimal Reproducible Example
See description
What version of
@astrojs/compilerare you using?2.1.0
What package manager are you using?
pnpm
What operating system are you using?
macOS
Describe the Bug
The following code:
results in the following TSX:
Not quite sure why it does that, but it breaks type checking and completions (which can work even on a malformed tag). Closing the tag
<div class="fdsfs">will fix it, but since this is editor tooling, you shouldn't have to.Link to Minimal Reproducible Example
See description