0%

Learn the essentials and more of TypeScript, a popular superset of the JavaScript language that adds support for static typing. TypeScript combines the typing features of C# or Java with the flexibility of JavaScript, reducing typing errors and providing an easier path to JavaScript development.

Author Adam Freeman explains how to get the most from TypeScript 4 in this second edition of his best-selling book.
 
He begins by describing the TypeScript language and the benefits it offers and then shows you how to use TypeScript in real-world scenarios, including development with the DOM API, and popular frameworks such as Angular and React. He starts from the nuts-and-bolts and builds up to the most advanced and sophisticated features.

Each topic is covered clearly and concisely, and is packed with the details you need to be effective. The most important features are given a no-nonsense, in-depth treatment and chapters include common problems and teach you how to avoid them.


What You Will Learn
  • Gain a solid understanding of the TypeScript language and tools
  • Use TypeScript for client- and server-side development
  • Extend and customize TypeScript
  • Test your TypeScript code
  • Apply TypeScript with the DOM API, Angular, React, and Vue.js 

Who This Book Is For

JavaScript developers who want to use TypeScript to create client-side or server-side applications

Table of Contents

  1. Cover
  2. Front Matter
  3. Part I. Getting Started with TypeScript
    1. 1. Your First TypeScript Application
    2. 2. Understanding TypeScript
    3. 3. JavaScript Primer, Part 1
    4. 4. JavaScript Primer, Part 2
    5. 5. Using the TypeScript Compiler
    6. 6. Testing and Debugging TypeScript
  4. Part II. Working with TypeScript
    1. 7. Understanding Static Types
    2. 8. Using Functions
    3. 9. Using Arrays, Tuples, and Enums
    4. 10. Working with Objects
    5. 11. Working with Classes and Interfaces
    6. 12. Using Generic Types
    7. 13. Advanced Generic Types
    8. 14. Working with JavaScript
  5. Part III. Creating Web Applications
    1. 15. Creating a Stand-Alone Web App, Part 1
    2. 16. Creating a Stand-Alone Web App, Part 2
    3. 17. Creating an Angular App, Part 1
    4. 18. Creating an Angular App, Part 2
    5. 19. Creating a React App
    6. 20. Creating a React App, Part 2
    7. 21. Creating a Vue.js App, Part 1
    8. 22. Creating a Vue.js App, Part 2
  6. Back Matter
3.144.84.155