Svelte · Junior · Question 69 of 76
How do you check Svelte types and templates from the command line?
- ✓Correct answer:
npx sv check - 2
npx tsconly - 3
npx svelte lint
Explanation
tsc alone doesn't understand .svelte files. sv check runs svelte-check, which reports type errors and compiler warnings like accessibility hints.