TypeScript
TypeScript is a statically typed superset of JavaScript that adds type-system features and is compiled to JavaScript.
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.
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.
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.
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
- MongoDB 8.0 in Action, Third Edition
- F# in Action: A Revised Edition of Get Programming with F#
- D3.js in Action, Third Edition
- BDD in Action, Second Edition
- The Well-Grounded Python Developer: How the pros use Python and Flask
- Building Reliable AI Systems
- Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu
What to know first
- JavaScriptJavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- HTMLHTML is the standard markup language for structuring content and elements in documents on the web.
- CSSCSS (Cascading Style Sheets) is a stylesheet language for specifying the presentation and layout of structured documents.
- PythonPython is a high-level, general-purpose, dynamically typed programming language with readable syntax and support for multiple programming paradigms.
Related concepts
- Angularused by · Angular is an open-source, TypeScript-based web application framework and platform for building structured, component-based client-side applications.
- JavaScriptkind of · JavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- static typinguses · Static typing is a typing discipline in which program types are determined or checked before execution, typically through compilation or static analysis.
- type narrowinguses · Type narrowing is the compile-time refinement of a value's possible static types based on control-flow checks, type guards, or equivalent analysis.
- type checkinguses · Type checking is the process of determining whether a value or program construct satisfies the constraints of a type system.
- genericsused by · Generics are programming-language constructs parameterized by types, allowing definitions to apply to multiple concrete types while preserving type relationships.
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.





