Sponsored
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy New
-34% $36.99
FREE delivery Thursday, June 11
Ships from: Amazon.com
Sold by: Amazon.com
$36.99 with 34 percent savings
List Price: $55.99 Image
FREE delivery Thursday, June 11
Or Prime members get FREE delivery Tomorrow, June 7. Order within 12 hrs 54 mins. Join Prime
In Stock
$$36.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$36.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
FREE 30-day refund/replacement
FREE 30-day refund/replacement
Quick refund
Usually issued within 24 hours. See exceptions
FREE return
At least one free return option available.
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$28.75
Get Fast, Free Shipping with Amazon Prime FREE Returns
This book is in good condition. The binding is good. Pages are clean with no markings/highlighting. The book has no missing or damaged pages. Ships directly from Amazon warehouse. This book is in good condition. The binding is good. Pages are clean with no markings/highlighting. The book has no missing or damaged pages. Ships directly from Amazon warehouse. See less
FREE delivery June 23 - 26 on orders shipped by Amazon over $35
Or fastest delivery June 22 - 24
$$36.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$36.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle App

  • Learning TypeScript: Enhance Your Web Development Skills Using Type-Safe JavaScript

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Learning TypeScript: Enhance Your Web Development Skills Using Type-Safe JavaScript

4.4 out of 5 stars (126)

{"desktop_buybox_group_1":[{"displayPrice":"$36.99","priceAmount":36.99,"currencySymbol":"$","integerValue":"36","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"9Iqznd%2BoZHUy4Xg%2FpF9jwzIHMJEWRXaB2TUNIiiO%2FtXAsZtY%2FjC5l5j5S%2FhaeXmZVIhZGlyV1Ljh5ik%2F6%2Fs0gPHO6pyGsQ8SQHXVeH6HO0XAUR6qJMNXW0WxiccNcv1Lltm6Okcvu%2BD0Nye0mpupHw%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$28.75","priceAmount":28.75,"currencySymbol":"$","integerValue":"28","decimalSeparator":".","fractionalValue":"75","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"9Iqznd%2BoZHUy4Xg%2FpF9jwzIHMJEWRXaB9nBSSSD8fAJa0xUVLSUaF%2B5%2FOjrUFM0j658zVNWjMcPgw2OuGToc1KZQTi0o83nWaNhZEBjcz1KmEDDAEmPCMUY8REPWJrXr9%2FqT3NmhOwVvtyPloDtU3TbY27IstY9a5k4PIrTP3dNbdxle%2Bjey6MFnatAdKqpF","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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

Sponsored

Frequently bought together

This item: Learning TypeScript: Enhance Your Web Development Skills Using Type-Safe JavaScript
$36.99
Get it as soon as Thursday, Jun 11
In Stock
Ships from and sold by Amazon.com.
+
$41.33
Get it as soon as Thursday, Jun 11
Only 7 left in stock (more on the way).
Ships from and sold by Amazon.com.
+
$29.05
Get it as soon as Friday, Jun 12
Only 1 left in stock - order soon.
Sold by SevenhillsNBM and ships from Amazon Fulfillment.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

From the brand


From the Publisher

Learning TypeScript

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

Josh Goldberg is a frontend developer from New York with a passion for open source, static analysis, and the web. He is a full-time open-source maintainer who contributes regularly to TypeScript and open-source projects in its ecosystem, such as typescript-eslint and TypeStat. His past work includes spearheading Codecademy's usage of TypeScript, helping create its Learn TypeScript course, and architecting rich client applications at Microsoft. His projects range from static analysis to meta-languages to re-creating retro games in the browser. Also cats.

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)
  • Customer Reviews:
    4.4 out of 5 stars (126)

About the author

Follow authors to get new release updates, plus improved recommendations.
Josh Goldberg
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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.

Sponsored

Customer reviews

4.4 out of 5 stars
126 global ratings
Sponsored

Top 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, 2022
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Definitely 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Clear and not larded up.
    Reviewed in the United States on July 14, 2022
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Best way to learn TypeScript
    Reviewed in the United States on July 12, 2022
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    As Promised
    Reviewed in the United States on September 22, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 3 out of 5 stars
    Typos combined with brain teasers
    Reviewed in the United States on February 27, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Excellent book!
    Reviewed in the United States on July 27, 2022
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This books is amazing! Would recommend if you want to gain deep understanding of typescript.

    3 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Excellent TypeScript Resource
    Reviewed in the United States on April 16, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Excellent 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 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, 2022
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Really 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.

Top reviews from other countries

    Translated by Amazon
    See original
  • 5 out of 5 stars
    A very complete book
    Reviewed in France on June 13, 2023
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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.
  • 5 out of 5 stars
    Love it!
    Reviewed in Australia on November 5, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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.
  • 5 out of 5 stars
    Good book 👍
    Reviewed in Japan on May 30, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Great resource on Typescript.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Recommended for anyone want to learn Typescript
    Reviewed in Germany on January 16, 2023
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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.
  • 5 out of 5 stars
    Un libro da leggere
    Reviewed in Italy on September 17, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Indispensabile

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Translated from Italian by Amazon
    See original