General Description
The book is 350 pages long. It contains 13 chapters and 7 appendices. In addition to textual information, the book includes numerous code snippets. Before each chapter, the material that will be covered is described. At the end of each chapter there is a brief summary of the material covered and a small practical exercise. The reading difficulty level is medium.
Table of Contents
Below are the chapters and topics that make up this book.
- Chapter 1. Introduction.
- Chapter 2. TypeScript from a Bird’s‑Eye View.
- Chapter 3. In‑Depth Types.
- Chapter 4. Functions.
- Chapter 5. Classes and Interfaces.
- Chapter 6. Advanced Types.
- Chapter 7. Error Handling.
- Chapter 8. Asynchronous Programming, Concurrency, and Parallel Processing.
- Chapter 9. Front‑end and Back‑end Frameworks.
- Chapter 10. Namespaces and Modules.
- Chapter 11. Interacting with JavaScript.
- Chapter 12. Building and Running TypeScript.
- Chapter 13. Summary.
- Appendix A. Type Operators.
- Appendix B. Type Utilities.
- Appendix C. Declaration Scope.
- Appendix D. Triple‑Slash Directives.
- Appendix E. Security Flags of the TSC Compiler.
- Appendix F. TSX.
Opinion
It was one of my earliest encounters with TypeScript, one that stayed mostly positive, although the material is quickly forgotten without practice. However, thanks to a substantial set of notes, the core concepts and language features can always be recalled. Regarding the book, its content is aimed at an introductory introduction to the language. Almost every feature and trick of TypeScript that existed at the time of publication is covered here. Nevertheless, the material is not particularly in‑depth, nor is there any information on the language’s ecosystem.