Skip to content

Commit

Permalink
fix: svelte/valid-compile to use verbatimModuleSyntax to work with …
Browse files Browse the repository at this point in the history
…TS v5.5. (#797)

See comment
#790 (comment)
  • Loading branch information
ota-meshi committed Jun 17, 2024
1 parent df947a7 commit f6d4e4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tough-jobs-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-svelte": patch
---

fix: `svelte/valid-compile` to use verbatimModuleSyntax to work with TS v5.5.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export function transform(
module: ts.ModuleKind.ESNext,
importsNotUsedAsValues: ts.ImportsNotUsedAsValues.Preserve,
preserveValueImports: true,
verbatimModuleSyntax: true,
sourceMap: true
}
});
Expand Down

0 comments on commit f6d4e4c

Please sign in to comment.