diff --git a/bases/strictest.json b/bases/strictest.json index 8ade1b3..61559d0 100644 --- a/bases/strictest.json +++ b/bases/strictest.json @@ -12,7 +12,7 @@ "noUnusedLocals": true, "noUnusedParameters": true, - "importsNotUsedAsValues": "error", + "verbatimModuleSyntax": true, "checkJs": true, "esModuleInterop": true, diff --git a/bases/svelte.json b/bases/svelte.json index 21b0613..bc4a426 100644 --- a/bases/svelte.json +++ b/bases/svelte.json @@ -10,7 +10,7 @@ Svelte Preprocess cannot figure out whether you have a value or a type, so tell TypeScript to enforce using `import type` instead of `import` for Types. */ - "importsNotUsedAsValues": "error", + "verbatimModuleSyntax": true, /** TypeScript doesn't know about import usages in the template because it only sees the script of a Svelte file. Therefore preserve all value imports. Requires TS 4.5 or higher.