Essential TypeScript 4
От основ до продвинутых возможностей TypeScript
Résumé :
Introduction
The book "Essential TypeScript 4" (author — Adam Freeman, 2021, 564 pages) is a comprehensive guide to the TypeScript language, covering both fundamental concepts and advanced techniques. Adam Freeman is known for his practical books on web development (Pro Angular, Pro ASP.NET Core series), and this work is no exception: it offers the reader a structured, example-oriented approach to learning TypeScript 4. The book was released at the height of TypeScript's popularization in the Angular, React, and Node.js ecosystems, so its relevance cannot be overstated.
What this book is about
"Essential TypeScript 4" begins by explaining the reasons why TypeScript has become the de facto standard for large JavaScript projects. The author then systematically covers the type system, compiler configuration, working with classes, interfaces, generics, decorators, and modules. Special attention is given to practical aspects: integration with existing JavaScript code, using types from third-party libraries, as well as testing and debugging TypeScript applications. The book also covers advanced topics such as conditional types, mapped types, utility types, and working with asynchrony through promises and async/await.
Who this book is for
The book is aimed at developers who already have basic experience with JavaScript (ES6+). It will be useful both for beginners wanting to systematically learn TypeScript and for experienced programmers who