
Автор: Adam Freeman
Издательство: Manning Publications
Год: 2023
Страниц: 729
Язык: английский
Формат: pdf , epub
Размер: 10.1 MB
Now in its third edition, this bestselling guide to TypeScript takes you through the nuts and bolts of the language. No frills, no fuss, just TypeScript essentials! Essential TypeScript 5, Third Edition teaches you how to get the most out of TypeScript 5 for a consistent, dependable development experience. You’ll start with a proper understanding of the jаvascript type system that will make using TypeScript so much easier. On that solid foundation, you’ll build your understanding of TypeScript development, following a hands-on learning path all the way to TypeScript’s advanced features. TypeScript is one of the most misunderstood technologies in use today. Many developers adopt TypeScript believing it to be a C#/jаvascript hybrid, given the similarity in syntax and the fact that TypeScript is produced by Microsoft. But the reality is entirely different: TypeScript doesn’t alter the way that jаvascript works – it makes it easier to describe how jаvascript code uses data types and highlights possible problems. That may not seem like a huge benefit, but the jаvascript type system causes endless confusion and TypeScript makes it easier to write complex code that can be readily understood by others, and which has fewer bugs when it is deployed. The link between TypeScript and jаvascript is so fundamental that this book includes a two-chapter primer that explains how the jаvascript type system works, which provides the foundation for understanding the features that TypeScript provides.