Table of Contents
Preface
Section 1: Getting Started with TypeScript 4
Chapter 1: Getting Started with Typescript 4
Technical requirements
Introducing TypeScript 4
Working with input and output8
Useful TypeScript 4 features9
Understanding TypeScript and JavaScript's relationship
How does JavaScript compare to TypeScript?11
Transitioning from JavaScript to TypeScript12
Design patterns in JavaScript13
Installing and using the code examples
Reviewing the libraries included in the code examples15
Understanding the tsconfig.json file16
Running the unit tests18
Using VSCode with TypeScript
Using VSCode for this book's code19
Inspecting types22
Refactoring with VSCode24
Introducing Unified Modeling Language (UML)
What is UML?26
Learning UML class diagrams27 ...
Get TypeScript 4 Design Patterns and Best Practices now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.