Earlier quoted context omitted.
> But doesn't Typescript compile to JS, thus there's actually no type-checking at runtime? Sure, but that's what happens in every other language e.g. C's type system will enforce certain properties for you but when you compile to machine code the machine code is not checking those properties at runtime. If you know the compiler is correct you don't have to worry. Nobody is saying you should stop writing tests but a g…
Q: What is a concrete advantage of Typescript? A: C's type system is very useful for data validation. Please read at least one sentence before writing a response next time.
The concrete advantage of TS is the same as the concrete advantage of any strongly typed language - types let you do static validation, and unlike tests, they allow for that validation to be provably complete (of course, the domain of constraints that can be so validated depends on the power of the type system in question).