Advanced TypeScript 2
TypeScript is a modern language with many advanced features. This course will teach you those features that build on the fundamentals you already know and allow you to harness its full power to write better code with fewer errors.
What you'll learn
In order to take full advantage of TypeScript you must have the knowledge to use its advanced features to write clean and expressive code. In this course, Advanced TypeScript, you will learn how to harness the full power of the type system to write better code with fewer errors. You will learn how to extend your use of existing types with union, intersection, and tuple types. You'll then go over how to create and use decorators. You will also learn how to manage asynchronous code using promises and the async and await keywords. When you're finished with this course, you will have the advanced skills necessary to fully utilize the language to solve all of your client and server-side coding problems.
Table of contents
- Introduction and Overview 1m
- Destructuring Arrays and Objects 3m
- Demo: Destructuring Arrays and Objects 8m
- The Spread Operator 1m
- Demo: Using the Spread Operator 2m
- Tuple Types 2m
- Demo: Creating and Using Tuple Types 5m
- Union Types and Intersection Types 2m
- Demo: Using Union and Intersection Types 3m
- Demo: Creating a Mixin 6m
- String Literal Types and Type Aliases 3m
- Demo: Using String Literal Types and Type Aliases 3m
- Summary 1m
- Introduction and Overview 1m
- Polymorphic this Types 2m
- Demo: Creating a Fluent API with Polymorphic this Types 5m
- Declaration Merging 3m
- Demo: Interface Merging and Module Augmentation 4m
- Type Guards 6m
- Demo: Using typeof Type Guards 3m
- Demo: Using instanceof Type Guards 3m
- Demo: Creating and Using Custom Type Guards 3m
- Symbols 2m
- Demo: Experimenting with Symbols 9m
- Summary 1m
- Introduction and Overview 1m
- What Are Decorators? 2m
- Decorator Syntax and Factory Functions 4m
- Class Decorators 1m
- Demo: Creating and Using Class Decorators 5m
- Demo: Class Decorators That Replace Constructors 4m
- Property and Parameter Decorators 2m
- Property Descriptors and Method Decorators 2m
- Demo: Creating and Using Method Decorators 6m
- Summary 1m