Skip to content

fix(sv): shift order of function signatures to avoid incorrect import-level deprecation#1065

Closed
GrygrFlzr wants to merge 1 commit intomainfrom
fix-sv-type
Closed

fix(sv): shift order of function signatures to avoid incorrect import-level deprecation#1065
GrygrFlzr wants to merge 1 commit intomainfrom
fix-sv-type

Conversation

@GrygrFlzr
Copy link
Copy Markdown
Member

Closes #1063

Description

VS Code's import strikethrough uses the first-found function declaration, so we just re-order to fix the issue.
Note this doesn't impact call-site strikethrough, which already do check that the arguments match.

Checklist

  • Update snapshots (not applicable)
  • Add a changeset
  • Allow maintainers to edit this PR
  • I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 17, 2026

🦋 Changeset detected

Latest commit: ac33c1f

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

This PR includes changesets to release 1 package
Name Type
sv 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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 17, 2026

Open in StackBlitz

npx https://pkg.pr.new/svelte-migrate@1065
npx https://pkg.pr.new/sv@1065
npx https://pkg.pr.new/@sveltejs/sv-utils@1065

commit: ac33c1f

@svelte-docs-bot
Copy link
Copy Markdown

@GrygrFlzr
Copy link
Copy Markdown
Member Author

Looks like #1064 was submitted already

@GrygrFlzr GrygrFlzr closed this Apr 17, 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.

Types for create deprecate function entirely

1 participant