Skip to content

keep root route $types on repeated sync #17224

Description

@max-got

Describe the bug

Since 3.0.0-next.28 svelte-kit sync deletes src/routes/$types.d.ts in a fresh kit app, so LayoutProps/PageProps can't be imported / are not generated on dev server startup or build.
Saving the route brings the file back tho.

I think it was #17096

Reproduction

Stackblitz just start the dev server without the .svelte-kit dir

Logs

System Info

>= 3.0.0-next.28

Severity

blocking an upgrade

Additional Information

No response

Activity

  1. svelte-triage-bot commented on Sep 26, 2026

    @svelte-triage-bot
    Contributor

    I’m reviewing this feedback and the bot workflow behind the PR.

  2. svelte-triage-bot commented on Sep 26, 2026

    @svelte-triage-bot
    Contributor

    Thanks — I recorded this as svelte-agent#24 and opened svelte-agent#25 to improve the agent’s investigation/review behavior.

  3. added theissue type on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions