How can I enable type checks while running fresh
I want to relay on the code being type checked and yelling at me when I made a mistake, but
deno task start in a fresh project doesn't seem to care by default. Is there some config I can change or at least some other script I can run in parallel to check the types?
(I also observed that VSCode plugin seems to indicate more type related errors than my Jetbrains IDE, does somebody know why?)2 Replies
add
--check to you start taskAnd for completeness sake, I just checked the docs, there is also
deno check <file>, which for a fresh project should be deno check dev.ts to only check the types without running the code.