Essential TypeScript 5, Third Edition
豆瓣
简介
TypeScript enhances JavaScript with static typing, while keeping all the JS flexibility you know and love! It’s the perfect choice for any developer looking to improve the predictability and reliability of their code. Essential TypeScript 5, Third Edition teaches you how to get the most out of TypeScript 5 for a consistent, dependable development experience.
Inside Essential TypeScript 5, Third Edition you’ll learn how to:
* Configure the TypeScript development tools
* Use type annotations
* Create strongly typed functions and classes
* Use generic types
* Use type guards to determine types
* Create and consume type declaration files
* Use TypeScript to create web applications with Angular and React
目录
1 Understanding TypeScript
Part 1
2 Your first TypeScript application
3 JavaScript primer, part 1
4 JavaScript primer, part 2
5 Using the TypeScript compiler
6 Testing and debugging TypeScript
Part 2
7 Understanding static types
8 Using functions
9 Using arrays, tuples, and enums
10 Working with objects
11 Working with classes and interfaces
12 Using generic types
13 Advanced generic types
14 Using decorators
15 Working with JavaScript
Part 3
16 Creating a stand-alone web app, part 1
17 Creating a stand-alone web app, part 2
18 Creating an Angular app, part 1
19 Creating an Angular app, part 2
20 Creating a React app
21 Creating a React app, part 2