Essential TypeScript 5, Third Edition

  • 8h 15m
  • Adam Freeman
  • Manning Publications
  • 2023

Now in its third edition, this bestselling guide to TypeScript takes you through the nuts and bolts of the language. No frills, no fuss—just TypeScript essentials!

TypeScript enhances JavaScript with static typing, while keeping all the JS flexibility you know and love! It’s the perfect choice for any developer looking to improve the predictability and reliability of their code. Essential TypeScript 5, Third Edition teaches you how to get the most out of TypeScript 5 for a consistent, dependable development experience.

Inside Essential TypeScript 5, Third Edition you’ll learn how to:

  • Configure the TypeScript development tools
  • Use type annotations
  • Create strongly typed functions and classes
  • Use generic types
  • Use type guards to determine types
  • Create and consume type declaration files
  • Use TypeScript to create web applications with Angular and React

The book starts you off with a proper understanding of the JavaScript type system that will make using TypeScript so much easier. On that solid foundation, you’ll build your understanding of TypeScript development, following a hands-on learning path all the way to TypeScript’s advanced features.

about the technology

TypeScript is a popular superset of JavaScript that adds support for static typing. TypeScript’s typing features, which will be instantly familiar to C# or Java programmers, help you reduce errors and improve the overall quality of your JavaScript code.

about the book

Essential TypeScript 5 is a fully updated third edition of the classic Adam Freeman bestseller. It provides full coverage of TypeScript 5, including new features like decorators. You’ll begin with the hows-and-whys of TypeScript, then quickly progress to practical applications of static types. No wasted pages! Each chapter is focused on the skills you need to write awesome web apps.

About the Author

Adam Freeman has held senior positions in a range of companies, most recently serving as CTO and COO of a global bank. He has written 50 programming books. The technical editor on this book is Fabio Claudio Ferracchiati.

In this Book

  • About This Book
  • Understanding TypeScript
  • Your First TypeScript Application
  • 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
  • Using Decorators
  • 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