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 initsvelte2tsx 0.77 changes
Breaking changes 1
Does not hide errors in the $props type argument.
Performance 2
emitDts skips type-checking, reducing work when generating declarations.
emitDts uses a module resolution cache, avoiding a full module resolution walk for every import of every file in the program.
Fixes and other changes 4
emitDts ignores noEmitOnError and isolatedDeclarations.
Recognizes the real <script> and <style> start tags when a matching token also appears inside the other tag.
Handles SvelteKit 3 changed imports for the zero types feature.
Removes the type dependency on magic-string.