Skip to content

breaking: stop generating ambient.d.ts#16460

Closed
Nic-Polumeyv wants to merge 1 commit into
sveltejs:version-3from
Nic-Polumeyv:remove-write-ambient
Closed

breaking: stop generating ambient.d.ts#16460
Nic-Polumeyv wants to merge 1 commit into
sveltejs:version-3from
Nic-Polumeyv:remove-write-ambient

Conversation

@Nic-Polumeyv

@Nic-Polumeyv Nic-Polumeyv commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Cashes the TODO get rid of this, it's useless from a524898. Nothing references the generated ambient.d.ts anymore, the service worker docs already point at env.d.ts. The @sveltejs/kit reference moves into env.d.ts so $app types keep working in projects that never import kit directly.

Important

Breaking for service workers still referencing ambient.d.ts per the v2 docs.

@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from b5e163b:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/b5e163bb3766a01bf018bba147586023823db904

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16460

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b5e163b

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

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Major

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

@Rich-Harris

Copy link
Copy Markdown
Member

closing in favour of the more comprehensive overhaul in #16458

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