These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

eBook features:
  • Highlight, take notes, and search in the book
  • In this edition, page numbers are just like the physical edition
You've subscribed to ! We will preorder your items within 24 hours of when they become available. When new books are released, we'll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships & Subscriptions
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

Follow the authors

See all
Something went wrong. Please try your request again later.

The TypeScript Workshop: A practical guide to confident, effective TypeScript programming 1st Edition, Kindle Edition

4.3 4.3 out of 5 stars 20 ratings

Broaden your skill set by learning TypeScript and applying your knowledge to build real-world applications

Key Features

  • Quickly get started writing TypeScript code with hands-on exercises and activities
  • Develop new skills that can be applied at work or in your own side projects
  • Build your understanding, boost your confidence, and advance your programming career

Book Description

By learning TypeScript, you can start writing cleaner, more readable code that’s easier to understand and less likely to contain bugs. What’s not to like?

It’s certainly an appealing prospect, but learning a new language can be challenging, and it’s not always easy to know where to begin. This book is the perfect place to start. It provides the ideal platform for JavaScript programmers to practice writing eloquent, productive TypeScript code.

Unlike many theory-heavy books, The TypeScript Workshop balances clear explanations with opportunities for hands-on practice. You’ll quickly be up and running building functional websites, without having to wade through pages and pages of history and dull, dry fluff. Guided exercises clearly demonstrate how key concepts are used in the real world, and each chapter is rounded off with an activity that challenges you to apply your new knowledge in the context of a realistic scenario.

Whether you’re a hobbyist eager to get cracking on your next project, or a professional developer looking to unlock your next promotion, pick up a copy and make a start! Whatever your motivation, by the end of this book, you’ll have the confidence and understanding to make it happen with TypeScript.

What you will learn

  • Configure a professional TypeScript development environment
  • Explore how to use primitive and complex data types
  • Incorporate types into popular npm (Node package manager) libraries
  • Design systems that use asynchronous behavior
  • Implement object-oriented programming to model real-world scenarios
  • Get to grips with modern UI design by combining React with TypeScript

Who this book is for

The TypeScript Workshop is for software developers who want to broaden their skill set by learning the TypeScript programming language. To get the most from this TypeScript book, you should have basic knowledge of JavaScript or experience using another similar programming language.

Table of Contents

  1. TypeScript Fundamentals
  2. Declaration Files
  3. Functions
  4. Classes and Objects
  5. Interfaces and Inheritance
  6. Advanced Types
  7. Decorators
  8. Dependency Injection in TypeScript
  9. Generics and Conditional Types
  10. Event Loop and Asynchronous Behavior
  11. Higher-Order Functions and Callbacks
  12. Guide to Promises in TypeScript
  13. Async/Await in TypeScript
  14. TypeScript and React
Due to its large file size, this book may take longer to download

Editorial Reviews

About the Author

Ben Grynhaus is a full-stack developer with a passion for the frontend. With over 7 years of experience, most of them in web development working with various tech stacks, he specializes in TypeScript, React, and Angular. Ben has worked on several products at Microsoft and is now part of an innovative start-up in the marketing domain. He has published numerous open source npm modules that help in Angular app development, especially when integrating with React.

Jordan Hudgens is a full-stack developer and the founder of DevCamp and the Bottega Code School. As a developer for over the past 15 years, he specializes in Ruby on Rails, React, Vue.js, and TypeScript with a focus on API development. He has built applications for a wide variety of organizations, including Eventbrite and Quip. He has published and maintains multiple open-source NPM modules that help individuals automate the development process for JavaScript and TypeScript applications. Additionally, he has published over 30 courses, taught 42,000 students globally, and written several programming books.

Rayon Hunte has been working with Angular and TypeScript for more than 3 years. He has built complex web applications, such as a vehicle management system and a land management web application for the local government. TypeScript has enabled Rayon to leverage his knowledge of JavaScript and web frameworks to build complex, scalable web applications. Having been a development team lead, Rayon has firsthand knowledge of how large projects can become too complicated and impossible to modify and scale as time passes and more features are added. He realizes that adding strong typing to your projects is essential in modern web development and for him, TypeScript has been a real game-changer.

Matt Morgan has been a software engineer, architect, and technology leader for more than 20 years. He's worked with many technologies over the years, such as RDBMS, Java, and Node.js, and seen many generations of web frameworks rise and fall. He is an occasional OSS contributor and a frequent blogger. Matt is most interested in finding ways to improve workflows and developer experience. A great toolchain is a force multiplier.

Wekoslav Stefanovski has about two decades of professional developer experience using a variety of development technologies. Has been using JavaScript since the previous millennium and has a long and fruitful love/hate relationship with it. On the other hand, with TypeScript it was love at first compilation, and it's only gotten better since then. His passions include building better programs and building better programmers.

Product details

  • ASIN ‏ : ‎ B093Y29GW3
  • Publisher ‏ : ‎ Packt Publishing; 1st edition (July 29, 2021)
  • Publication date ‏ : ‎ July 29, 2021
  • Language ‏ : ‎ English
  • File size ‏ : ‎ 13559 KB
  • Text-to-Speech ‏ : ‎ Enabled
  • Enhanced typesetting ‏ : ‎ Enabled
  • X-Ray ‏ : ‎ Not Enabled
  • Word Wise ‏ : ‎ Not Enabled
  • Print length ‏ : ‎ 714 pages
  • Page numbers source ISBN ‏ : ‎ 1838828494
  • Customer Reviews:
    4.3 4.3 out of 5 stars 20 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.3 out of 5 stars
20 global ratings

Review this product

Share your thoughts with other customers

Top reviews from the United States

  • Reviewed in the United States on September 17, 2021
    As someone who has only recently gotten into Web development this has been an excellent guide and resource to aid in my journey to master Web app development. It saves me from the slog of going through tones of documentation and the boring stuff that I've already learned and gets to the meat of things while at the same time providing me with the key concepts necessary to be proficient in typescript.
  • Reviewed in the United States on September 26, 2021
    *The TypeScript Workshop* is some of the most comprehensive example-based guides for learning TypeScript I've come across. Beginning with fundamentals, its scope expands to cover idiomatic TypeScript patterns for usage with dependency injection, async/await, React and other important areas that JavaScript developers commonly work in. I thought the attention given to these sections was a very nice addition to the book and tremendously improved its worth.

    The book specifically covers TypeScript 4.1.3, which is an important detail as the TypeScript project is under active development as it becomes an ever more integral part of the JavaScript ecosystem. If you are reading this review in the future and have specific interest in new features, be sure to check that those features existed prior to 4.1.3.

    The organization of the chapters is intuitive and consistent. Each starts with a conceptual overview of the particular area of concern. They then flow into concrete examples complete with code snippets and granular explanations of the content and behavior of each. I appreciated that the use of language remained conversational and prosaic throughout and took a very "plain-English" approach to explaining the subject matter. If you get stuck on anything in this book, it won't be because of ambiguous explanations — the authors seem to have taken time and care in clearly communicating even the most complex concepts and examples the book covers.

    I've gone through many programming books from various publishers and I'm always on the look out for broken code or buggy examples. The presence of these is very offputting to me and makes me feel like the editing process was not taken seriously and that I've wasted money on a substandard product. Not the case with this book. I was happy to see that a precisee replication of the example code did not fail to compile (unless the intend was to cause a failure for use as a didactic tool). I know that seems like this should be the default case for any programming book, but so often it is not. Basically, everything just worked.

    One warning I would give to someone picking up this book as a means to casually learn TypeScript is that it will take time to get through. The book is very dense and comprehensive. It is not a casual read by any definition of casual. My recommendation is to pace yourself and set aside time each day to make progress on the exercises. This is the best way to approach books such as *The TypeScript Workshop*.

    In all, I would say that I'm very pleased with the book.
    2 people found this helpful
    Report
  • Reviewed in the United States on August 16, 2021
    This book mostly avoids boring the reader with long boring explanation, but instead contains just the needed prerequisite explanations related to the topics covered in the chapter, and then follows up with good amount of well commented code which makes it easy to read and understand the concepts being illustrated. Make sure to follow the code from the links (redirected to github)

    Apart from teaching typescript for beginners, this book can also be used to quickly refresh typescript knowledge after reading the book. As someone who has experience working on typescript projects, I would use this book as a way to quickly refresh my knowledge on typescript for the foreseeable future till the typescript covered in this book gets outdated.

    If you are already well versed with javascript and Object Oriented Programming(OOP) and javascript, then you might find yourself thinking “well I already know that, cut to the chase already” in some places. But overall, it's a good read on learning typescript.
    One person found this helpful
    Report
  • Reviewed in the United States on August 5, 2021
    This is not another TypeScript cheat sheet.

    As usual with the "Workshop" line of Packtpub books, it's 100% practice, practice, practice with the needed theory kept to a minimum, although you will learn a lot of interesting concepts from that theory.

    There are a lot of exercises (guided) and activities (solutions at the end of the book) to train yourself to master TypeScript.

    I appreciate that the topics are not limited to beginner level (it is covered and goes far beyond), you will practice with:
    - databases,
    - REST APIs,
    - design patterns like Dependency Injection (often not mentioned in many TypeScript books)
    - mentions about the internals of TypeScript to JavaScript transpilation based on target environment (client and server-side)
    - advanced typing techniques specific to the TypeScript paradigm

    It has sections on Angular and React and Node.js and Nest.js with TypeScript.
    You will even build an authentication page with Firebase.

    All in all, a recommended book for hands-on professional TypeScript practices.
    2 people found this helpful
    Report
  • Reviewed in the United States on August 23, 2021
    The book's intent is to cover TypeScript, and it does this very well. There are many examples to go along with the explanations, which I found easy to read. The book is also very well organized. I read the book front to back, and I could feel myself improving chapter by chapter in a well-guided way.

    You'll get more than just TypeScript knowledge from this book though. The authors probably felt that TypeScript is not just utilized in a vacuum. There are a lot of good overviews of JavaScript itself, other technologies that are commonly utilized, and some interesting conventions or algorithms on how to solve problems.

    I would recommend this book to become a better developer overall while you learn more about Typescript.
  • Reviewed in the United States on August 10, 2021
    I've been a part of a large scale Node/Typescript project for the past 2 years, and I thought I had a good grasp on Typescript. However, this book opened a whole new world for me. I haven't had a chance to read it all from cover to cover. I'm not sure if I ever will. But I keep going back to it over and over again to find answers to my questions as a developer, and to find insights and nuances about the language that you simply can't find on stackoverflow and blogs.

Report an issue


Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?