freeprogrammingbooks.com

The Concise TypeScript Book

By Simone Poggiali (2025)

The Concise TypeScript Book book cover

TypeScript has become one of the most essential languages in web development. Originally created by Microsoft in 2012, it adds static typing to JavaScript, catching bugs at compile time rather than runtime.

By 2026, TypeScript is the default choice for most production web applications, with over 69% of developers using it for large-scale projects. Every major frontend framework — React, Angular, Vue — now scaffolds new projects in TypeScript by default, and Node.js, Deno, and Bun all ship experimental native TypeScript execution.

The language is ranked #3 in popularity indexes, and TypeScript developers earn a significant premium over JavaScript-only developers. For anyone building serious web applications, learning TypeScript is no longer optional — it is the standard.

About the book

The Concise TypeScript Book offers a complete overview of TypeScript’s capabilities without unnecessary fluff. Written by Simone Poggiali, a Staff Engineer with decades of industry experience at companies like HelloFresh, Siemens, and Snowplow, this book covers everything from the type system basics to advanced features like conditional types, template literal types, and decorators.

It targets TypeScript 6.0, making it one of the most up-to-date references available. The book works for both beginners who want a structured introduction and experienced developers looking for a compact reference they can return to.

What you will learn

You will gain a solid understanding of TypeScript’s type system, including structural typing, type inference, narrowing, and generics. The book covers practical configuration for real projects, utility types, advanced type manipulation, and how to migrate JavaScript codebases to TypeScript. It also explains modern JavaScript features that TypeScript enables, async patterns, modules, and integration with JSX for React development. By the end, you will be able to write type-safe, maintainable TypeScript code with confidence.

Table of contents

  • TypeScript Introduction (What is TypeScript, Why TypeScript, TypeScript and JavaScript, TypeScript Code Generation, Modern JavaScript Now)
  • Getting Started With TypeScript (Installation, Configuration, tsconfig.json options)
  • Migration to TypeScript Advice
  • Exploring the Type System (Structural Typing, Types as Sets, Type Declarations, Type Assertions)
  • Type Inference and Type Widening
  • Type Narrowing (Conditions, Discriminated Union, Type Guards, Control Flow Analysis)
  • Primitive Types (string, boolean, number, bigInt, Symbol, null, undefined, any)
  • Object Types (Tuples, Union, Intersection, Indexing, Mapped, Conditional Types)
  • Interface and Type (Overloads, Merging, Differences between Type and Interface)
  • Class (Common Syntax, Access Modifiers, Abstract Classes, Decorators, Inheritance, Generics)
  • Generics (Generic Type, Constraints, Contextual Narrowing)
  • Type Manipulation (Utility Types: Awaited, Partial, Required, Pick, Omit, Record, and more)
  • Asynchronous Language Features
  • Modules, JSX, and Tooling
  • Advanced Topics (Template Literal Types, Recursive Types, Variadic Tuples, Covariance and Contravariance, satisfies Operator, using declarations, Import Attributes, import defer)

Book details

  • Title: The Concise TypeScript Book
  • Author(s): Simone Poggiali
  • Publication year: 2025
  • Publisher: Self-published
  • Pages: 146
  • PDF size: 0.7 MB
  • Estimated reading time: ~3 h 39 min
  • Level: Intermediate
  • Main category: Programming
  • Subcategory: TypeScript
  • Language: English
  • License: CC BY 4.0

More books in: Programming, TypeScript


Legal notice: This book is shared for educational purposes only. The content is distributed under Creative Commons licenses or with explicit permission from the author. FreeProgrammingBooks may host files that comply with their respective licenses.

Want more free books?

Join our channels and receive free books, courses and tech news.