Part 1. Mastering the TypeScript syntax

Part 1 starts with explaining the benefits of TypeScript compared to JavaScript. Then, we’ll cover various syntax elements of TypeScript using small code snippets for illustration. You’ll see how to use built-in and declare custom types. We’ll introduce the use of classes and interfaces as well as generics, enums, decorators, mapped and conditional types. You’ll learn the tooling used by TypeScript developers (such as compilers, linters, debuggers, and bundlers). Finally, we’ll show you how to use the TypeScript and JavaScript code in the same app.

For those of you who like learning by watching videos, Yakov Fain has published a number of videos (see http://mng.bz/m4M8) that illustrate the materials from ...

Get TypeScript Quickly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.