Posts

Showing posts with the label #

Learning typescript

 Recently, I have changed up my team and moved to a team which is extensively using typescript language. So, naturally I have to learn it up. In this post I would be discussing about my learnings: What is Typescript? Typescript is built on the top of JavaScript. It is type superset of JavaScript which compiles back to simple JavaScript. It provides object-oriented features like java and c# and is also statically typed. For those who don't know what is statically typed it means that variables are declared with their types at the time of their declaration. Hmmm.... That's interesting so I assume it's a programming layer which is built on the top of JavaScript and provides object-oriented features of statically typed languages and compiling back to JavaScript. Hence, bringing functionalities of both JS and object-oriented languages together. Installation Let's start with discussing installation of typescript. I am assuming that you might be having node js installed over yo...