unstale

npm / svelte2tsx

svelte2tsx

What changed in svelte2tsx 0.7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

1 breaking2 performance4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

svelte2tsx 0.77 changes

Breaking changes 1

  • Does not hide errors in the $props type argument.

    0.7.62release notes

Performance 2

  • emitDts skips type-checking, reducing work when generating declarations.

    0.7.62release notes

  • emitDts uses a module resolution cache, avoiding a full module resolution walk for every import of every file in the program.

    0.7.62release notes

Fixes and other changes 4

  • emitDts ignores noEmitOnError and isolatedDeclarations.

    0.7.62release notes

  • Recognizes the real <script> and <style> start tags when a matching token also appears inside the other tag.

    0.7.62release notes

  • Handles SvelteKit 3 changed imports for the zero types feature.

    0.7.61release notes

  • Removes the type dependency on magic-string.

    0.7.60release notes