Jump to ratings and reviews
Rate this book

TypeScript Handbook

Rate this book
Over 20 years after its introduction to the programming community, JavaScript is now one of the most widespread cross-platform languages ever created. Starting as a small scripting language for adding trivial interactivity to webpages, JavaScript has grown to be a language of choice for both frontend and backend applications of every size. While the size, scope, and complexity of programs written in JavaScript has grown exponentially, the ability of the JavaScript language to express the relationships between different units of code has not. Combined with JavaScript's rather peculiar runtime semantics, this mismatch between language and program complexity has made JavaScript development a difficult task to manage at scale.

The most common kinds of errors that programmers write can be described as type errors: a certain kind of value was used where a different kind of value was expected. This could be due to simple typos, a failure to understand the API surface of a library, incorrect assumptions about runtime behavior, or other errors. The goal of TypeScript is to be a static typechecker for JavaScript programs - in other words, a tool that runs before your code runs (static) and ensures that the types of the program are correct (typechecked).

177 pages, ebook

2 people are currently reading

About the author

Various

455k books1,329 followers
Various is the correct author for any book with multiple unknown authors, and is acceptable for books with multiple known authors, especially if not all are known or the list is very long (over 50).

If an editor is known, however, Various is not necessary. List the name of the editor as the primary author (with role "editor"). Contributing authors' names follow it.

Note: WorldCat is an excellent resource for finding author information and contents of anthologies.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (25%)
4 stars
4 (50%)
3 stars
2 (25%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Durian Jaykin.
97 reviews
August 28, 2022
Book was not entertaining. Absolute slog to get through. But eh, got Typescript fundamentals down. But really, the fact that the types system is so complex is kind of amazing. I don't know whether I'll be using them with DefinitelyTypes. And having Types being strings like "Animal" will get me some to get used to, but I can see the power with them.

This book is not a quick read. Grinded a few pages a day just to give myself some time to digest the concepts.
Profile Image for Luiza.
219 reviews5 followers
May 4, 2021
A good starting point for people not familiarised with TypeScript.

Some parts are less related to the TS syntax per se, but give you context about concepts that you can use with TS (example: Generics); other parts might be too advance for someone wanting to know the basics (example: some meta-programming to add getters to types dynamically). Still, this is a good book to have as reference when using TS.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.