Skip to content

Avoid astro:assets symbol collisions in language tools#16478

Open
VenkataAllu15 wants to merge 2 commits intowithastro:mainfrom
VenkataAllu15:codex/astro-language-tools-image-conflict
Open

Avoid astro:assets symbol collisions in language tools#16478
VenkataAllu15 wants to merge 2 commits intowithastro:mainfrom
VenkataAllu15:codex/astro-language-tools-image-conflict

Conversation

@VenkataAllu15
Copy link
Copy Markdown

Summary

  • keep generated Astro component identifiers internal in the language server and TS plugin
  • add a regression test for image.astro importing Image from astro:assets
  • avoid the virtual TSX name collision that produced Import declaration conflicts with local declaration of "Image"

Closes #14683

Testing

  • pnpm --filter @astrojs/language-server test --match Diagnostics
  • pnpm --filter @astrojs/ts-plugin build

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 24, 2026

⚠️ No Changeset found

Latest commit: 8d4b06f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@VenkataAllu15 VenkataAllu15 marked this pull request as ready for review April 24, 2026 15:10
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.

Bug: experimental assets: Import declaration conflicts with local declaration of 'Image'.

1 participant