Based on the above, commonly heard explanation, one may think that TypeScript is an easy language to learn, however it does come with quite a lot of features that a developer must become familiar with first in order to be able to successfully create applications using TypeScript.
TypeScript is a language that has become increasingly popular with the growing of frameworks such as Angular2+ (and there are more and more frontend frameworks that implement TypeScript or provide you with TypeScript specific implementations).
This course intends to lay down the foundations for you so that you can start to write TypeScript code. It is very important to understand these fundamentals otherwise looking at code written in Angular2+ and TypeScript is going to be very confusing.
Section 1 - an introduction to ECMAScript 2015
Section 2 - Setting up your environment
This section focuses on setting up your application to be ready to write top-notch TypeScript code.
Section 3 - Primitive Data Types
This section walks you through the 3 primitive data types that are available in TypeScript: Boolean, Number and String.
Section 4 - Non-primitive Data Types
In this section, you get familiar with all the remaining data types that TypeScript supports including but not limited to arrays, tuples and void.
Section 5 - Object Oriented TypeScript - Part 1
This section introduces some OOP concepts using TypeScript - you can get familiar with interfaces and using the extends keyword to extend classes and interfaces.
Section 6 - Object Oriented TypeScript - Part 2
This section will extend (get it, extend!) your knowledge gathered in the previous section and you shall learn about access modifiers in classes, as well as get to know how to work with abstract classes and functions amongst other things.
Section 7 - Generics
In this section, you learn about generics, what they are, how they are used and why to use them in the first place.
Section 8 - Typings, Transpilation and Debugging
- ECMA International
- 'const' and 'var' - new ways to declare variables
- Working with Objects and Arrays the ES2015 way
- Arrow functions
- Rest, Spread operator and Default function parameters
- Template literals
- Classes in ECMAScript 2015
- Modules (in TypeScript)
- Installing a code editor (Visual Studio Code)
- Configuring TypeScript via tsconfig.json
- Executing TypeScript code
- String FREE PREVIEW
- Using all primitive data types
- null & undefined
- Type Assertion
- Type vs Interface
- Using the 'extends' keyword
- Interface - index signature FREE PREVIEW
- Data types and optional parameters for functions
- Classes in TypeScript
- Access modifiers
- Using the 'implements' keyword
- Creating abstract classes and methods
- Putting everything together
- Using generics in TypeScript
- Typings for third party libraries
- Use Webpack with TypeScript for transpilation
- Linting TypeScript code
- Enable linting via Webpack
- Debugging TypeScript code
- Use SystemJS with TypeScript
- Use RequireJS with TypeScript
- GitHub Link