chore: remove SvelteKit data attributes from elements.d.ts
#17613
Pull request
Merged
T
teemingc Feb 4, 2026, 8:54 AMApparently we were supposed to remove them after sveltejs/kit#11222 ? Is this a breaking change?
Before submitting the PR, please make sure you do the following
- It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
- Prefix your PR title with
feat:,fix:,chore:, ordocs:. - This message body should clearly illustrate what problems it solves.
- Ideally, include a test that fails without this PR but passes with it.
- If this PR changes code within
packages/svelte/src, add a changeset (npx changeset).
Tests and linting
- Run the tests with
pnpm testand lint the project withpnpm lint
Info
Merged at Feb 4, 2026, 4:32 PM
Merged by Rich-Harris
Assignees None
Reviewers None
Labels types / typescript
Milestone None
C
changeset-bot[bot] Feb 4, 2026, 8:54 AM🦋 Changeset detected
Latest commit: ae4575f
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| svelte | 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
G
github-actions[bot] Feb 4, 2026, 8:55 AMpnpm add https://pkg.pr.new/svelte@17613 D
dummdidumm Feb 4, 2026, 9:01 AMAh yeah we should be able to - can you check in a project just to be extra sure?
T
teemingc Feb 4, 2026, 9:49 AMYeah, it works the same as before. Shame that we can't do anything about sveltejs/kit#15229 yet
Pull request opened Feb 4, 2026, 8:54 AM
Removed SvelteKit specific data attributes from elements.d.ts.
Verified
Removed SvelteKit data attributes from elements.d.ts.
Verified
Pull request merged Feb 4, 2026, 4:32 PM
Total -17 +5