Skip to content

Commit f9ee52d

Browse files
committed
chore: disable unsupported typescript compiler options
Ref: sveltejs/svelte-preprocess#124
1 parent b1ae0aa commit f9ee52d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"noEmitOnError": true,
4+
// "noEmitOnError": true,
5+
// `noUnusedLocals` doesn't work when typescript in .svelte files is
6+
// preprocessed (via svelte-preprocess). TS is not aware that the variables
7+
// are used in svelte's HTML
8+
// "noUnusedLocals": true,
59
"typeRoots": [
610
"./node_modules/@types",
711
"./types"

0 commit comments

Comments
 (0)