Skip to content

Commit b7db1dd

Browse files
committed
drop importsNotUsedAsValues thanks to sveltejs/svelte-preprocess#392
1 parent 188c1a8 commit b7db1dd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

example-plugins/svelte/tsconfig.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
"compilerOptions": {
44
"emitDeclarationOnly": false,
55
"noEmit": true,
6-
/**
7-
Svelte Preprocess cannot figure out whether you have a value or a type, so tell TypeScript
8-
to enforce using `import type` instead of `import` for Types.
9-
*/
10-
"importsNotUsedAsValues": "error",
116
/**
127
TypeScript doesn't know about import usages in the template because it only sees the
138
script of a Svelte file. Therefore preserve all value imports. Requires TS 4.5 or higher.

0 commit comments

Comments
 (0)