TypeScript Learning
Typescript is a superset of Javascript or it is JS++ [ JavaScript ++ ] where first + = brings Type-Safety to Javascript and second + = Makes the developer's life easy. Type-safety All the Typescript code is trans-compiled into Javascript code by using the Typescript compiler. During this phase, if the compiler notices any errors then it shows immediately. Ex : var x : number = 10; x = "Hello"; // assigning string value to integer variable. Typescript compiler throws error notices this errors then it shows immediately. In the end, The browser understands only Javascript. Typescript is strictly typed Ease of use With a few lines of Typescript code, we can write a lot of Javascript code. Ex: we can create an Employee class with functions and properties with few lines of code. We can also make use of OOP concepts like interface, inheritance, and encapsulation just like we do in c#. It also provides us easy syntax https://www.typ