Book description
TypeScript has conquered the world of JavaScript: it's 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
Product information
- Title: Learning TypeScript
- Author(s):
- Release date: June 2022
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098110338
You might also like
video
Understanding TypeScript
Most people know TypeScript from Angular 2+. It's the language you must use there, right? It's …
book
Learn React with TypeScript - Second Edition
Take your first step in building modern-day component-based web apps using the latest features and capabilities …
book
Programming TypeScript
Any programmer working with a dynamically typed language will tell you how hard it is to …
book
Mastering TypeScript - Fourth Edition
Learn all you need to know to work with TypeScript, explore modern web application frameworks, and …