Static Typing
As we already said, TypeScript is a superset of JavaScript therefore it has all of JavaScript’s features along with more of its own. One feature that stands out is the static typing present in TypeScript. People coming from an object-oriented background will be put at ease immediately when they see this. Due to static typing, we can detect bugs at compile time for type-related problems. This wasn’t possible in JavaScript until runtime.
