Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Could you elaborate?

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



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! :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: