I'm considering using TypeScript instead of JavaScript for a very big project. The question is: what are the benefits I can gain. TypeScript provides interfaces, strict typing and so on. But the thing that is the most important is whether TypeScript is compiled. By compilation I mean a real compilation just like Java has. I don't need JavaScript's minification (uglification, etc. - some people call it compiling). I don't mean Python's compilation as well.
So the question is: will TypeScript throw an error at compile-time if a developer makes a mistake before runtime, just as Java would?