Skip to content

feat: support Svelte 5 declaration tags#3033

Merged
dummdidumm merged 5 commits into
masterfrom
declaration-tags
Jun 1, 2026
Merged

feat: support Svelte 5 declaration tags#3033
dummdidumm merged 5 commits into
masterfrom
declaration-tags

Conversation

@dummdidumm

@dummdidumm dummdidumm commented May 24, 2026

Copy link
Copy Markdown
Member

Should only be merged once sveltejs/svelte#18282 is done/merged

@changeset-bot

changeset-bot Bot commented May 24, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b026665

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
svelte-check Minor
svelte2tsx Patch

Not sure what this means? Click here to learn what changesets are.

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

dummdidumm added a commit to sveltejs/svelte that referenced this pull request May 29, 2026
Allows `{let/const ...}` declarations in all places (and more) where we
already allow `{@const ...}` (which will eventually get deprecated in
favor of this new feature).

Closes: #16490


Companion PRs:
- sveltejs/language-tools#3033
- sveltejs/prettier-plugin-svelte#533
- sveltejs/eslint-plugin-svelte#1533
- sveltejs/svelte-eslint-parser#891

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
Comment thread .changeset/metal-hotels-film.md Outdated
@dummdidumm dummdidumm merged commit e9f4ce9 into master Jun 1, 2026
3 checks passed
@dummdidumm dummdidumm deleted the declaration-tags branch June 1, 2026 09:26
@github-actions github-actions Bot mentioned this pull request Jun 1, 2026
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.

2 participants