I give you three reasons:
- The first most important reason is that Angular 2 is written using TypeScript and learning TypeScript to write our code will help understand the framework better.
- TypeScript is supported by Google, Microsoft, and Facebook. Google uses TypeScript in their Angular 2 apps. Microsoft uses TypeScript and supports it extensively. Facebook uses TypeScript in their ReactJS framework.
What is strong typing?
You may ask what is strong typing? Well A strongly-typed programming language is one in which each type of data (such as integer, character, decimal, and so forth) is predefined as part of the programming language and all constants or variables defined for a given program must be described with one of the data types.
TypeScript is not difficult to master. With a little effort, you can learn most of its basics and feel comfortable in writing complex applications using TypeScript.
I have also created video tutorials on learning Angular using TypeScript. You can subscribe to my channel here.
Hope I gave you enough motivation to start your Angular journey using TypeScript. I found the following two resources to be helpful in learning TypeScript.