Hacker News new | ask | show | jobs
by k__ 1674 days ago
Could you elaborate?

Shouldn't the type checks happen while you write the code?

1 comments

vscode + typescript seems to only surface errors in the current file. If a change breaks something in another file it isn't apparent (in my experience at least). I added tsc to a pre-commit hook to catch these issues.
Interesting.

I had the impression it would also include imported files.

Thanks! :)