liveBook · Manning

TypeScript

TypeScript is a statically typed superset of JavaScript that adds type-system features and is compiled to JavaScript.

How 6 Manning books explain it

React in Depth

TypeScript is a statically typed programming language that extends JavaScript with type syntax and compiles to JavaScript.

How it is used
Uses static typing to check contracts across React components, hooks, functions, and libraries before code runs.
How deep it goes
Works through component props and React-hook typing, including utility types and generics, without attempting exhaustive coverage of TypeScript.
Examples
Uses required button props, a dark-mode context, playlist callbacks, and an invalid effect return to expose typing decisions.
What you can do after
Apply it via React to type component contracts and hooks, interpret type errors, and weigh adoption costs.

Read how React in Depth explains TypeScript →

Essential TypeScript 5, Third Edition

TypeScript is a programming language that extends JavaScript with static typing and other language features while compiling to JavaScript.

How it is used
Adds checks and developer features to JavaScript projects while retaining JavaScript runtimes and packages.
How deep it goes
Develops compiler configuration, static types, functions, object shapes, JavaScript interoperability, and framework workflows through application examples.
Examples
Uses a to-do application, a typed tax function, and Angular and React applications to demonstrate development choices.
What you can do after
Build it from scratch: configure and compile TypeScript projects, then use the resulting JavaScript in applications.

Read how Essential TypeScript 5, Third Edition explains TypeScript →

Acing the Frontend Interview

TypeScript is a statically typed superset of JavaScript that adds compile-time type checking and related language features.

How it is used
Positions static typing as a baseline interview skill for building and maintaining frontend and full-stack applications.
How deep it goes
Explains benefits and works through generics, constraints, narrowing, declaration files, and configuration rather than stopping at a definition.
Examples
Uses a generic React list, constrained generic functions, and declaration-file interview questions to make type safety concrete.
What you can do after
Practice/perform it by explaining TypeScript’s trade-offs and designing reusable typed APIs while recognizing common type-safety and tooling choices.

Read how Acing the Frontend Interview explains TypeScript →

Secrets of the JavaScript Ninja, Third Edition

A statically typed superset of JavaScript that compiles to JavaScript.

How it is used
Catches common JavaScript mistakes before execution and supplies type information to development tools.
How deep it goes
Explains parameter annotations, inferred and explicit return types, type removal, and direct execution; stops short of a full type-system treatment.
Examples
Uses a reversed setTimeout call, mismatched function arguments, and a return type that reveals an unhandled zero case.
What you can do after
Apply it via the TypeScript checker to annotate functions, inspect inferred types, and catch argument or return errors before execution.

Read how Secrets of the JavaScript Ninja, Third Edition explains TypeScript →

Pro Angular 16

TypeScript is a statically typed programming language that extends JavaScript with additional language features and compiles to JavaScript.

How it is used
Supports Angular client-side development by making JavaScript code more predictable and organizing application models and modules.
How deep it goes
Explains the JavaScript relationship, static types, basic features, compilation, classes and modules, while stopping short of comprehensive coverage.
Examples
Uses a to-do data model with TodoItem and TodoList classes, typed properties, constructors, imports, exports and a read-only collection.
What you can do after
Build Angular application code using basic TypeScript and understand how it becomes browser-executable JavaScript.

Read how Pro Angular 16 explains TypeScript →

Build Financial Software with Generative AI (From Scratch)

TypeScript is a statically typed superset of JavaScript that compiles to JavaScript.

How it is used
Supports maintainable dashboard development for financial applications involving file uploads, data views, APIs, and UI testing.
How deep it goes
Explains the JavaScript relationship and explicit types, then stops at project-level basics rather than language internals.
Examples
Uses a TypeScript dashboard template customized for file uploads, data views, API calls, and visualizations.
What you can do after
Builds a maintainable typed dashboard foundation while applying existing JavaScript skills.

Read how Build Financial Software with Generative AI (From Scratch) explains TypeScript →

Also covered in

What to know first

Related concepts

Questions about TypeScript

What is TypeScript?

TypeScript is a statically typed superset of JavaScript that adds type-system features and is compiled to JavaScript.

Which Manning books explain TypeScript?

React in Depth, Essential TypeScript 5, Third Edition, Acing the Frontend Interview, Secrets of the JavaScript Ninja, Third Edition, Pro Angular 16 and Build Financial Software with Generative AI (From Scratch).

What should I know before learning TypeScript?

Manning books that teach TypeScript usually introduce JavaScript, HTML, CSS and Python first.

What is TypeScript a kind of?

TypeScript is a kind of JavaScript. JavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.