Essential TypeScript 4: From Beginner to Pro, Second Edition

  • 8h 2m
  • Adam Freeman
  • Apress
  • 2021

Learn the essentials and more of TypeScript, a popular superset of the JavaScript language that adds support for static typing. TypeScript combines the typing features of C# or Java with the flexibility of JavaScript, reducing typing errors and providing an easier path to JavaScript development.

Author Adam Freeman explains how to get the most from TypeScript 4 in this second edition of his best-selling book.

He begins by describing the TypeScript language and the benefits it offers and then shows you how to use TypeScript in real-world scenarios, including development with the DOM API, and popular frameworks such as Angular and React. He starts from the nuts-and-bolts and builds up to the most advanced and sophisticated features.

Each topic is covered clearly and concisely, and is packed with the details you need to be effective. The most important features are given a no-nonsense, in-depth treatment and chapters include common problems and teach you how to avoid them.

What You Will Learn

  • Gain a solid understanding of the TypeScript language and tools
  • Use TypeScript for client- and server-side development
  • Extend and customize TypeScript
  • Test your TypeScript code
  • Apply TypeScript with the DOM API, Angular, React, and Vue.js

Who This Book Is For

JavaScript developers who want to use TypeScript to create client-side or server-side applications

About the Author

Adam Freeman is an experienced IT professional who has held senior positions at a range of companies, most recently serving as chief technology officer and chief operating officer of a global bank. Now retired, he spends his time writing and long-distance running.

In this Book

  • Your First TypeScript Application
  • Understanding TypeScript
  • JavaScript Primer, Part 1
  • JavaScript Primer, Part 2
  • Using the TypeScript Compiler
  • Testing and Debugging TypeScript
  • Understanding Static Types
  • Using Functions
  • Using Arrays, Tuples, and Enums
  • Working with Objects
  • Working with Classes and Interfaces
  • Using Generic Types
  • Advanced Generic Types
  • Working with JavaScript
  • Creating a Stand-Alone Web App, Part 1
  • Creating a Stand-Alone Web App, Part 2
  • Creating an Angular App, Part 1
  • Creating an Angular App, Part 2
  • Creating a React App
  • Creating a React App, Part 2
  • Creating a Vue.js App, Part 1
  • Creating a Vue.js App, Part 2