We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5ec504 commit 52c0d9fCopy full SHA for 52c0d9f
packages/svelte2tsx/src/svelte2tsx/index.ts
@@ -180,7 +180,7 @@ export function svelte2tsx(
180
end,
181
scriptTag
182
? scriptTag.start + 1 // +1 because imports are also moved at that position, and we want to move interfaces after imports
183
- : moduleScriptTag.end
+ : instanceScriptTarget
184
);
185
} else if (scriptTag) {
186
str.move(start, end, renderFunctionStart);
0 commit comments