A Practical Start with TypeScript 2
This course uses a demo-first approach to get you familiar with TypeScript. You will cover all of the main language features of TypeScript by building software for a vending machine serving drinks and candy.
What you'll learn
This compact course will introduce you to TypeScript using a practical, demo-first approach. In this course, A Practical Start with TypeScript, you will cover all of the main language features in TypeScript, enabling you to write structured browser code for your app. First, you'll go over the foundations and basics of the TypeScript language, getting you prepared to write it. Next, you will see how to use inheritance, polymorphism, and interfaces in TypeScript. Finally, you will get an explanation of several options to further structure your code, especially with bigger projects. By the end of this course, you'll have the knowledge to feel ready to write your own TypeScript app.
Table of contents
- Version Check 0m
- Course and Module Introduction 2m
- TypeScript vs. JavaScript 2m
- What Is TypeScript? 2m
- The Transpiler 3m
- The Editor 2m
- Setting up Visual Studio Code 2m
- Configuring a Build Task 3m
- tsconfig.json and tsc Command Line Arguments 3m
- Source Maps 1m
- Bootstrapping an Application 3m
- Debugging 1m
- Referencing Other TypeScript Files 1m
- Summary 0m
- Module Introduction 0m
- Classes 2m
- Data Types 2m
- Implementing a Class 2m
- Type Inference 1m
- Access Modifiers 2m
- Properties 2m
- Functions and Arrows 4m
- Connecting the UI 2m
- Connecting the UI with Knockout.js 2m
- Type Definitions 2m
- Refactoring the UI Logic 1m
- Let 2m
- Arrays 3m
- Constructors 2m
- Static Members 1m
- Enums 2m
- Loops 4m
- Finishing Up 3m
- Summary 1m