Effective TypeScript: 62 Specific Ways to Improve Your TypeScript

Free download Effective TypeScript: 62 Specific Ways to Improve Your TypeScript by Dan Vanderkam. Published by O Reilly Media. English | 266 Pages | EPUB | ISBN: 1492053740

Description of Effective TypeScript

TypeScript is a typed superset of JavaScript with the potential to solve many of the headaches for which JavaScript is famous. But TypeScript has a learning curve of its own, and understanding how to use it effectively can take time.

This book guides you through 62 specific ways to improve your use of TypeScript. Author Dan Vanderkam, a principal software engineer at Sidewalk Labs, shows you how to apply these ideas, following the format popularized by Effective C++ and Effective Java (both from Addison-Wesley).

You’ll advance from a beginning or intermediate user familiar with the basics to an advanced user who knows how to use the language well. This book is not to teach you TypeScript or JavaScript but to help you advance from a beginning or intermediate user to an expert.

The items in this book do this by helping you build mental models of how TypeScript and its ecosystem work, making you aware of pitfalls and traps to avoid, and by guiding you toward using TypeScript’s many capabilities in the most effective ways possible.

Whereas a reference book will explain the five ways that a language lets you do X, an Effective book will tell you which of those five to use and why. This book focuses primarily on the language itself, rather than any frameworks or build tools.

You won’t find any examples of how to use React or Angular with TypeScript, or how to configure TypeScript to work with webpack, Babel, or Rollup. The advice in this book should be relevant to all TypeScript users.

It include

  • Getting to Know TypeScript
  • TypeScript’s Type System
  • Type Inference
  • Type Design
  • Working with any
  • Types Declarations and @types
  • Writing and Running Your Code
  • Migrating to TypeScript

Leave a Comment