TypeScript 1 In-depth
This course will help you learn all of the major language features in the latest versions of TypeScript.
What you'll learn
This course will begin with TypeScript basics such as the new syntax for variable declarations and progress through all of the major features of the language including arrow functions, interfaces, classes, modules, namespaces, and generics. Along the way, you'll learn not only the syntax, but also the benefits of the strong-typing support in TypeScript. TypeScript is an amazing language that compiles to JavaScript and is a perfect tool for building both client and server-side web applications.
Table of contents
- Introduction and Overview 2m
- Functions in TypeScript Versus JavaScript 2m
- Parameter Types and Return Types 1m
- Arrow Functions 4m
- Handling 'this' in Arrow Functions 1m
- Demo: Arrow Functions 5m
- Function Types 1m
- Demo: Defining and Using Function Types 4m
- Optional and Default Parameters 1m
- Rest Parameters 1m
- Demo: Defining Parameters 7m
- Function Overloads 2m
- Demo: Using Function Overloads 4m
- Summary 1m
- Introduction and Overview 1m
- What s an Interface? 2m
- Duck Typing 2m
- Defining an Interface 1m
- Demo: Restructuring the LibraryManager App 4m
- Demo: Defining and Using Interfaces 8m
- Function Types 2m
- Demo: Interfaces for Function Types 3m
- Extending Interfaces 1m
- Demo: Extending Interfaces 3m
- Class Types 2m
- Demo: Implementing Interfaces with Classes 4m
- Summary 1m
- Introduction and Overview 1m
- What Is a Class? 2m
- Constructors 2m
- Properties and Methods 4m
- Access Modifiers 1m
- Demo - Creating and Using Classes 10m
- Extending Classes with Inheritance 3m
- Demo - Extending Classes 6m
- Abstract Classes 1m
- Demo - Creating Abstract Classes 3m
- Demo - Using Class Expressions 3m
- Summary 1m
- Introduction and Overview 1m
- Changes in TypeScript 1.5 2m
- Modules Versus Namespaces 2m
- Creating and Using Namespaces 4m
- Demo: Creating an App with Namespaces 7m
- Reasons to Use Modules 1m
- Module Formats and Loaders 3m
- Exporting from a Module 2m
- Importing from a Module 3m
- Demo: Export and Import Basics 3m
- Demo: Importing an Entire Module 3m
- Default Exports 2m
- Demo: Using Default Exports 2m
- Summary 1m
- Introduction and Overview 1m
- What are Generics and Type Parameters? 2m
- Using Array <T> 2m
- Generic Functions 2m
- Demo: Creating and Using Generic Functions 5m
- Generic Interfaces and Classes 3m
- Demo: Creating and Using a Generic Class 5m
- Generic Constraints 2m
- Demo: Applying Constraints to Generics 2m
- Summary 1m
- Introduction and Overview 1m
- What Are Type Definition Files? 3m
- Ambient Modules 2m
- DefinitelyTyped 1m
- Demo: Using Definitions from DefinitelyTyped 5m
- Managing Type Definitions with tsd 2m
- Demo: Installing Type Definitions with tsd 3m
- Managing Type Definitions with typings 1m
- Demo: Installing Type Definitions with typings 5m
- Summary 1m