TypeScript: JavaScript Development Guide
Book information
Description
This book is an exploration of TypeScript, which is a superset of JavaScript. The first part of the book explains to you what TypeScript is and what it is used for. You will also learn how it is related to JavaScript. The book also guides you on how to install TypeScript on Windows and on other platforms. Type annotations, which are very good in defining how the program is indented, are discussed, and thus, you will learn how to work with them. Interfaces, which are good and compatible with most objects, are discussed in detail. Understanding the scope of objects such as “this” is very difficult. This book examines arrow functions which are a good mechanism to help you understand the scope of this keyword. Expressions are also used widely in TypeScript, and these have been explored in detail. Classes which are very important in object-oriented programming and for creation of large apps are also covered, along with features such as inheritance which are associated with classes; Iterators have also been explored in detail. The “for…of” loop is widely used in TypeScript. This is discussed in this book, along with how to implement it. The spread operator, which is used for the purpose of spreading the elements of an array, is also examined.The following topics are discussed in this book:A Brief Overview of TypeScriptInstalling TypeScriptType AnnotationsInterfacesArrow Function ExpressionsClassesDestructuringfor…ofIteratorsTemplate StringsSpread OperatorEnumslet
Similar books
A History of Canberra
2014 · PDF
A History of Canberra
2014 · PDF
Utopian Generations: The Political Horizon of Twentieth-Century Literature
2009 · PDF
Autonomy: The Social Ontology of Art under Capitalism
2019 · PDF
How to Make Bread
2017 · EPUB
Nmap 7: From Beginner to Pro
2019 · AZW3
Nmap7: From Beginner to Pro
2019 · EPUB
Utopian Generations: The Political Horizon of Twentieth-Century Literature
2009 · EPUB