News for hackers. Stuff that matters.
Re:The TypeScript Tax by qwer on Friday January 25, 2019 @05:48PM (#19003371)
I just finished something similar: http://caines.ca/blog/2018/12/11/a-javascript-to-typescript-...

We opted to keep it strict (no implicit `any`) through the entire transition but only apply it to ts files, so we are indeed completely free of type errors now. We only have 50 cases of (explicit) `any` in 85K+ LOC and they're in type def files.

Let me be the first person you've met to doubt the value of the type system. I do like the in-editor support, but you pay for it with about 25% more code.

I'm certainly not advocating undoing it, but I personally wouldn't do it again (though the team has mixed opinions).

Just curious: What's your test coverage like?

Re:The TypeScript Tax by robocat on Monday January 28, 2019 @05:36PM (#19021737)
So how many errors were uncovered, and how serious could they have been?
Re:The TypeScript Tax by qwer on Tuesday January 29, 2019 @07:48AM (#19025864)
It's in the blog post, but more were created by the transition than removed. There were less than 10 issues found and none were anything that users were concerned about.