Types and runtime checks

from blog Mike Saburenkov, | ↗ original
That's the second article in a series on TypeScript started by ‘TypeScript. Bad Parts’. You can read them in any order as they aren't really connected apart from covering the same topic. But if you can't decide, make it chronologically. So what do types bring to JS? They fix some bad parts of JS, but that's a byproduct. Mainly they add some...