YMMV and as you can see in the article TS doesn’t make sense for EVERY project. I personally start every project with JS and only opt in the type system when it absolutely makes sense (none in the past 12 months).

What you mentioned is one of the downsides of TS (as mentioned in the article) and this problem will continue to exist as long as a sound typesystem is not part of EcmaScript. Like many other decisions in the professional life of a software engineer, it is a tradeoff.

Knowledge Worker, MSc Systems Engineering, Tech Lead, Web Developer

Knowledge Worker, MSc Systems Engineering, Tech Lead, Web Developer