Benefits of TypeScript

I am a 14 year old passionate full stack web dev from India who loves exploring new technologies.
What is TypeScript?
For those of you who don't know what TypeScript is, it is an open source programming language developed by Microsoft. In a nutshell, it is a superset of JavaScript. By superset, I mean it extends on the existing functionalities of JavaScript by providing some more features. TypeScript is a statically typed language meaning that we explicitly declare the types of objects as opposed to dynamic typing where the types are implicit and interpreter/compiler infers the types.
Benefits of TypeScript (Juicy Part)
You may wonder that TypeScript is not for you especially if you love dynamic languages like Ruby, Python, JavaScript etc. Well you are wrong. TypeScript offers code that is beautiful and airtight. The static typing is one of the benefits of TypeScript. Another benefit of TypeScript is the any type. As I told you that TypeScript has types, the any type basically allows you to say that this object can be a number, string, null etc. This feature can allow you to use dynamic typing in TypeScript. It is that easy.
TypeScript is full with features and extensions like Types, Interfaces, Access modifiers etc. It also comes with a whole bunch of keywords. The best part about TypeScript is that even after being a superset of JavaScript, you can use the same code you write in JavaScript and work with it in TypeScript. You get no errors.
The TypeScript compiler is also awesome because it can compile TypeScript code with ES6 features to ES3. The compiler also provides many customisations and supports JavaScript web APIs.
I could keep on going on about how great TypeScript is but I think it's time you explore the infinitely many features TypeScript has to offer. And don't forget to comment below about what your favourite feature is. Thank you and I will see you next time when I will write again.


