|
|
|
|
|
by eatonphil
2480 days ago
|
|
> Ever tried to do that with a large Typescript code base and then of course without the defensive strategy? It's a myth Typescript proponents really enjoy to believe. You got me. I have not tried to do this in a large TS codebase. > There isn't a ton you can do about this except for to code very defensively where it matters. Of course you have this issue in pure JavaScript too. So it's not so much that TypeScript is worse it's just not as big an improvement in this regard as a compile-to-JavaScript language that gives you runtime type safety. |
|