Table of Contents for
Programming TypeScript
Close
Version ebook
/
Retour
Programming TypeScript
by Boris Cherny
Published by O'Reilly Media, Inc., 2019
nav
Cover
Programming TypeScript
Programming TypeScript
1. TypeScript: A 10_000 Foot View
2. All About Types
3. Functions
Index
1. TypeScript: A 10_000 Foot View
The Compiler
The Type System
TypeScript vs. JavaScript
IDE Setup
Exercises
2. All About Types
Talking about types
The ABCs of Types
Any
Unknown
Boolean
Number
String
Symbol
Object
Intermission: Type Aliases, Union & Intersection Types
Array
Tuple
Null, Undefined, Void, and Never
Enum
Summary
Exercises
3. Functions
Declaring & Invoking Functions
Optional & Default Parameters
Rest Parameters
call, apply, and bind
Generator Functions
Iterators
Function Types
Overloaded Function Types
Polymorphism
Generic Type Inference
Bounded Polymorphism
Using Bounded Polymorphism to Model Arity
Generic Type Defaults
Type Driven Development
Exercises
Index