Book description
TypeScript has conquered the world of JavaScript: it is one of the world's fastest growing and most popular languages across developer surveys, widely used in consumer and business companies alike, and frequently credited for helping massive web applications scale. But what is TypeScript? How does it work, why does it work, and how can we use it?
Learning TypeScript takes beginner to intermediate JavaScript programmers from knowing nothing about "types" or a "type system" to full mastery of the fundamentals of TypeScript. It's more than a means to find bugs and typos--it's a useful system for declaring the way our JavaScript should work and helping us stick to it. You'll learn how TypeScript:
- interacts with JavaScript
- analyzes and understands code
- augments your existing development pattern
- helps you document your code
- works with IDEs to provide refactoring tools
- assists local development in refactoring code
- helps you develop more quickly with fewer bugs
Publisher resources
Table of contents
- Preface
- I. Concepts
- 1. From JavaScript to TypeScript
- 2. The Type System
- 3. Unions and Literals
- 4. Objects
- II. Features
- 5. Functions
- 6. Arrays
- 7. Interfaces
- 8. Classes
- 9. Type Modifiers
- 10. Generics
- III. Usage
- 11. Declaration Files
- 12. Using IDE Features
- 13. Configuration Options
- IV. Extra Credit
- 14. Syntax Extensions
- 15. Type Operations
- Glossary
- Index
- About the Author(s)
Product information
- Title: Learning TypeScript
- Author(s):
- Release date: June 2022
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098110338
You might also like
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn't clean, it can bring a development organization …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Data Science from Scratch, 2nd Edition
To really learn data science, you should not only master the tools—data science libraries, frameworks, modules, …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …