Effective TypeScript: 83 Specific Ways to Improve Your TypeScript

Effective TypeScript: 83 Specific Ways to Improve Your TypeScript

by: Dan Vanderkam (Author)

Publisher: O’Reilly Media
Edition: 2nd

Publication Date: June 4, 2024

Language: English

Print Length: 401 pages

ISBN-10: 1098155068

ISBN-13: 9781098155063

Book Description

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 leaing curve of its own, and understanding how to use it effectively takes time and practice. Using the format popularized by Effective C++ and Effective Java (both Addison-Wesley), this practical book features 83 items that give specific advice on what to do and what not to do, and how to think about the language. Author Dan Vanderkam shows you how to apply each item’s advice through concrete examples. This book will help you advance from a beginning or intermediate user familiar with TypeScript basics to an expert who knows how to use the language well. Updated for TypeScript 5, this second edition includes two new chapters on type-level programming and TypeScript recipes. Lea the nuts and bolts of TypeScript’s type system Use type inference to get full safety with a minimum of type annotations Design types to make your code safer and more understandable Model complex APIs using generic types and type-level programming Understand how dependencies and type declaration files work in TypeScript Successfully migrate your JavaScript code base to TypeScript
About the Author
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 leaing curve of its own, and understanding how to use it effectively takes time and practice. Using the format popularized by Effective C++ and Effective Java (both Addison-Wesley), this practical book features 83 items that give specific advice on what to do and what not to do, and how to think about the language. Author Dan Vanderkam shows you how to apply each item’s advice through concrete examples. This book will help you advance from a beginning or intermediate user familiar with TypeScript basics to an expert who knows how to use the language well. Updated for TypeScript 5, this second edition includes two new chapters on type-level programming and TypeScript recipes. Lea the nuts and bolts of TypeScript’s type system Use type inference to get full safety with a minimum of type annotations Design types to make your code safer and more understandable Model complex APIs using generic types and type-level programming Understand how dependencies and type declaration files work in TypeScript Successfully migrate your JavaScript code base to TypeScript Read more

电子书代发PDF格式价格10我要求助
未经允许不得转载:Wow! eBook » Effective TypeScript: 83 Specific Ways to Improve Your TypeScript