Fix some more type errors and turn on TS strict mode

Possible now that svelte2tsx has fixed a few bugs!
This commit is contained in:
Ryan Gossiaux
2021-12-18 18:48:15 -08:00
parent 3b5e036dc4
commit 4a6edb4e1c
5 changed files with 10 additions and 7 deletions

View File

@@ -4,6 +4,7 @@
"module": "es2020",
"lib": ["es2020", "DOM"],
"target": "es2020",
"strict": true,
/**
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.