Customers who viewed this item also viewed
Buy New
-34%
$36.99$36.99
FREE delivery Thursday, June 11
Advertisement
Advertisement
Ships from: Amazon.com Sold by: Amazon.com
Used - Good
$28.75$28.75
FREE delivery June 23 - 26 on orders shipped by Amazon over $35
Advertisement
Advertisement
Ships from: Amazon Sold by: Zineproducts
Return this item for free
We offer easy, convenient returns with at least one free return option: no shipping charges. All returns must comply with our returns policy.
Learn more about free returns.- Go to your orders and start the return
- Select your preferred free shipping option
- Drop off and leave!
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Learning TypeScript: Enhance Your Web Development Skills Using Type-Safe JavaScript
Purchase options and add-ons
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
- ISBN-101098110331
- ISBN-13978-1098110338
- Edition1st
- PublisherO'Reilly Media
- Publication dateJuly 12, 2022
- LanguageEnglish
- Dimensions7 x 0.5 x 9.25 inches
- Print length317 pages
Frequently bought together

Deals on related products
Customers also bought or read
- Effective TypeScript: 83 Specific Ways to Improve Your TypeScript
Paperback$41.33$41.33FREE delivery Thu, Jun 11 - Programming TypeScript: Making Your JavaScript Applications Scale
Paperback$29.05$29.05Delivery Jun 12 - 14 - JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language
Paperback$61.17$61.17FREE delivery Jun 21 - 24 - Learning React: Modern Patterns for Developing React Apps
Paperback$36.49$36.49FREE delivery Thu, Jun 11 - The Road to React: Your journey to master plain yet pragmatic React.js
Paperback$28.98$28.98Delivery Jun 22 - 26 - Learn React with TypeScript: A beginner's guide to building real-world, production-ready web apps with React 19 and TypeScript
Paperback$39.99$39.99FREE delivery Thu, Jun 11 - React Key Concepts: An in-depth guide to React's core features
Paperback$23.71$23.71Delivery Thu, Jun 11 - Eloquent JavaScript, 4th Edition#1 Best SellerJavaScript Programming
Paperback$27.70$27.70Delivery Thu, Jun 11 - JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pages
Paperback$28.99$28.99Delivery Thu, Jun 11 - Modern Full-Stack React Projects: Build, maintain, and deploy modern web apps using MongoDB, Express, React, and Node.js
Paperback$33.26$33.26Delivery Thu, Jun 11 - The Rust Programming Language, 3rd Edition#1 Best SellerObject-Oriented Software Design
Paperback$39.71$39.71FREE delivery Thu, Jun 11 - TypeScript Cookbook: Real World Type-Level Programming
Paperback$36.89$36.89FREE delivery Thu, Jun 11 - React and React Native: Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile
Paperback$43.99$43.99FREE delivery Thu, Jun 11 - Programming Rust: Fast, Safe Systems Development#1 Best SellerFunctional Software Programming
Paperback$43.99$43.99FREE delivery Thu, Jun 11 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Thu, Jun 11 - Learning JavaScript Design Patterns: A JavaScript and React Developer's Guide
Paperback$38.00$38.00FREE delivery Thu, Jun 11 - Node.js: The Comprehensive Guide to Server-Side JavaScript Programming (Rheinwerk Computing)
Paperback$43.80$43.80FREE delivery Thu, Jun 11 - Effective TypeScript: 62 Specific Ways to Improve Your TypeScript
Paperback$35.98$35.98FREE delivery Jun 13 - 15 - Learning Angular: A practical guide to building web applications with modern Angular
Paperback$38.49$38.49FREE delivery Thu, Jun 11 - Fundamentals of Software Architecture: A Modern Engineering Approach#1 Best SellerComputer Programming Logic
Paperback$57.40$57.40FREE delivery Thu, Jun 11 - CSS: The Definitive Guide: Web Layout and Presentation
Paperback$58.30$58.30FREE delivery Jun 16 - 18 - TypeScript 5 Design Patterns and Best Practices: Build clean and scalable apps with proven patterns and expert insights
Paperback$24.58$24.58Delivery Thu, Jun 11 - JavaScript: The Comprehensive Guide to Learning Professional JavaScript Programming (Rheinwerk Computing)
Paperback$53.01$53.01FREE delivery Thu, Jun 11 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)#1 Best SellerSoftware Testing
Hardcover$50.99$50.99FREE delivery Thu, Jun 11 - Mastering Node.js Web Development: Go on a comprehensive journey from the fundamentals to advanced web development with Node.js
Paperback$47.49$47.49FREE delivery Thu, Jun 11 - Learning Git: A Hands-On and Visual Guide to the Basics of Git
Paperback$34.92$34.92Delivery Thu, Jun 11
From the brand
-
Explore more Typescript
-
or explore JavaScript
-
More from O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
Who Should Read This Book
If you have an understanding of writing JavaScript code, can run basic commands in a terminal, and are interested in learning about TypeScript, this book is for you.
Maybe you’ve heard TypeScript can help you write a lot of JavaScript with fewer bugs (true!) or document your code well for other people to read (also true!). Maybe you’ve seen TypeScript show up in a lot of job postings, or in a new role you’re starting.
Whatever your reason, as long as you come in knowing the fundamentals of JavaScript—variables, functions, closures/scope, and classes—this book will take you from no TypeScript knowledge to mastering the fundamentals and most important features of the language.
By the end of this book, you will understand:
- The history and context for why TypeScript is useful on top of “vanilla” JavaScript
- How a type system models code
- How a type checker analyzes code
- How to use development-only type annotations to inform the type system
- How TypeScript works with IDEs (Integrated Development Environments) to provide code exploration and refactoring tools
And you will be able to:
- Articulate the benefits of TypeScript and general characteristics of its type system.
- Add type annotations where useful in your code.
- Represent moderately complex types using TypeScript’s built-in inferences and new syntax.
TypeScript is a wildly popular language in both industry and open source:
- GitHub’s 2021 and 2020 State of the Octoverses have it at the platform’s fourth top language
- StackOverflow’s 2021 Developer Survey has it at the world’s third most loved language
- The 2020 State of JS Survey shows TypeScript has consistently high satisfaction and usage amounts
Navigating this Book
Learning TypeScript has two purposes:
- You can read through it once to understand TypeScript as a whole.
- Later, you can refer back to it as a practical introductory TypeScript language reference.
This book ramps up from concepts to practical use across three general sections:
- Part I, “Concepts”: How JavaScript came to be, what TypeScript adds to it, and the foundations of a type system as TypeScript creates it.
- Part II, “Features”: Fleshing out how the type system interacts with the major parts of JavaScript you’d work with when writing TypeScript code.
- Part III, “Usage”: Now that you understand the features that make up the TypeScript language, how to use them in real-world situations to improve your code reading and editing experience.
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media
- Publication date : July 12, 2022
- Edition : 1st
- Language : English
- Print length : 317 pages
- ISBN-10 : 1098110331
- ISBN-13 : 978-1098110338
- Item Weight : 2.31 pounds
- Dimensions : 7 x 0.5 x 9.25 inches
- Best Sellers Rank: #309,673 in Books (See Top 100 in Books)
- #37 in JavaScript Programming (Books)
- #172 in Introductory & Beginning Programming
- #219 in Software Development (Books)
- Customer Reviews:
About the author

Hi, I'm Josh! I'm a frontend developer from New York with a passion for open source, static analysis, and the web. I'm a full time open source maintainer and work on projects in the TypeScript ecosystem such as typescript-eslint and TypeStat. I'm also the author of O'Reilly's Learning TypeScript O'Reilly. I'm passionate about bringing accessible education to the masses in a sustainable way.
Related products with free delivery on eligible orders
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
- 5 out of 5 stars
Boy did I learn a lot - and had fun doing it
Reviewed in the United States on July 27, 2022Definitely recommend this book especially if you're a javascript efficienado with no knowledge or very little of type script and even if you have a lot of knowledge its still a good book to have. The book was filled with great examples and an easy to follow guide on how to incorporate types into ur javascript repos and libraries. Great book!
5 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Clear and not larded up.
Reviewed in the United States on July 14, 2022This is exactly the kind of tech writing that is needed today. It's really clear and to the point and not larded up with filler content.
*Edit. Dropping one star to four. While I stand by my original review I felt the need to adjust it after completing the book. A little more than half way through I came to the conclusion that the content was going to be insufficient ...and it was. You're going to want something with a bit more "meat" to it and by "meat" I mean greater depth to truly "enhance your web development skills".
9 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Best way to learn TypeScript
Reviewed in the United States on July 12, 2022This is my favorite resource for learning TypeScript. From introductory to advanced topics, It's all clear, concise, and comprehensive. I found Josh to be an excellent—and fun—writer 😃
4 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
As Promised
Reviewed in the United States on September 22, 2024Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
Typos combined with brain teasers
Reviewed in the United States on February 27, 2024I must rate the content of this book as rather poor compared to many programming language books i have read. I am a coder with a background in Java, C#, and Python and I bought this because i recently started working on a new project at work that is developed in Typescript and Angular, so i wanted to understand the basics of Typescript better.
1st: The book has too many errors and they are almost all in the coding examples. This was leading me to be really confused on a few examples until i found the OReilly online errata website for errors in their books, and my suspicions were confirmed that the code was wrong in quite a few sections.
2nd: This books teaches in a way i dont much care for. It is only my opinion, but i'd like clear examples of the concepts, not brain teasers every chapter. The writing describes feature X, and then the code example follows purposefully written to be a brain teaser for feature X. Rarely is a simple example given. This, combined with the typos i mentioned, made reading these to get the basic understanding of Typescript feel like much more of a choir and makes it harder for me to use the book as a future reference.
Overall, though, I am halfway through the book and it isnt all bad. I have my complaints, but the information is ordered in logical way and i have seen technical books that go off course far too often, and this one does a good job of staying on topic.
3 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Excellent book!
Reviewed in the United States on July 27, 2022This books is amazing! Would recommend if you want to gain deep understanding of typescript.
3 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Excellent TypeScript Resource
Reviewed in the United States on April 16, 2024Excellent book, I read it cover to cover and worked through all of the Web exercises.
I'm an experienced JavaScript developer and wanted to start using TypeScript in my new projects. I read this book and now I am using TypeScript on a day today basis in production code.
The best part of this book was how language features are described and always backed up with sample code to illustrate the concepts. This approach really helped with my understanding of concepts.
Honestly, I can't recommend this book highly enough! The writing style and quality was top-notch and always hit on the topics with enough depth, but not too much.
If you want to learn TypeScript in a practical way and start using it, you can stop with this book, it's that good.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
Great resource for learning TS, but a lot of typos and mistakes
Reviewed in the United States on December 7, 2022Really well structured, thorough, and easy to follow. A great resource for someone starting their journey with TS or for seasoned TS devs who want to more deeply understand the code that they write. Despite learning a lot and enjoying the book, I unfortunately couldn’t give the book 5 stars due to the amount of typos and inaccuracies throughout the book. Not just misspellings, but complete, obvious mixups, mistakes, or incorrect words used that could potentially be very confusing for someone new to TS. Did no one proofread this book before publishing??
10 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
Kevin R5 out of 5 starsA very complete book
Reviewed in France on June 13, 2023I bought this book to enhance my knowledge about Typescript and I found what I wanted. 5/5
Easy to understand and no useless explications.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Jennifer5 out of 5 starsLove it!
Reviewed in Australia on November 5, 2025I love it! I love this book so much. I really appreciate the effort the author put into designing the exercises and especially into providing such clear, thoughtful solutions. I learned so much and truly enjoyed the author’s style.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Athlos5 out of 5 starsGood book 👍
Reviewed in Japan on May 30, 2026Great resource on Typescript.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Santosh Yadav5 out of 5 starsRecommended for anyone want to learn Typescript
Reviewed in Germany on January 16, 2023I have been using Typescript since 2017, but the book was really helpful to understand the littlet details about the Typescript.
Using as Const narrows the types, this was an amazing trick which I learned from the book.
Josh is a great teacher, book is recommended for anyone who wants to learn Typescript.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Cliente Amazon5 out of 5 starsUn libro da leggere
Reviewed in Italy on September 17, 2025Indispensabile
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again














![Computer Networking Bible: [3 in 1] The Complete Crash Course to Effectively Design, Implement and Manage Networks. Including Sections on Security, Performance and Scalability](https://m.media-amazon.com/images/I/41H4YJnxKgL._AC_SR100,100_QL65_.jpg)