News for hackers. Stuff that matters.
Re:The TypeScript Tax by JohnDotAwesome on Friday January 25, 2019 @05:14PM (#19003086)
The compiler can most definitely type-check that code. It's up to you whether or not you want to ignore certain types errors. Want to ignore monkey-patching related errors? Filter out all lines from tsc that include TS2339.
Re:The TypeScript Tax by ojosilva on Friday January 25, 2019 @06:07PM (#19003488)
I just wanted to say that I absolutely love the fact that tsc errors have codes, such as "TS2339".

This is a fundamental part of error handling and DX that, unfortunately, is left out 10 out of 10 in tooling, applications and libraries alike, in special opensource projects.