Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Mastering TypeScript
Mastering TypeScript

Mastering TypeScript: Build enterprise-ready, modular web applications using TypeScript 4 and modern frameworks , Fourth Edition

Table of content icon View table of contents Preview book icon Preview Book

Mastering TypeScript

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Explore TypeScript 4's key elements and advanced language features
  • Use TypeScript with modern frameworks such as Angular, Vue, React, RxJS and Node
  • Understand TDD, serverless techniques, micro frontends, and other industry-standard best practices to create high-quality and modular apps

Description

TypeScript is both a language and a set of tools to generate JavaScript, designed by Anders Hejlsberg at Microsoft to help developers write enterprise-scale JavaScript. Mastering Typescript is a golden standard for budding and experienced developers. With a structured approach that will get you up and running with Typescript quickly, this book will introduce core concepts, then build on them to help you understand (and apply) the more advanced language features. You’ll learn by doing while acquiring the best programming practices along the way. This fourth edition also covers a variety of modern JavaScript and TypeScript frameworks, comparing their strengths and weaknesses. You'll explore Angular, React, Vue, RxJs, Express, NodeJS, and others. You'll get up to speed with unit and integration testing, data transformation, serverless technologies, and asynchronous programming. Next, you’ll learn how to integrate with existing JavaScript libraries, control your compiler options, and use decorators and generics. By the end of the book, you will have built a comprehensive set of web applications, having integrated them into a single cohesive website using micro front-end techniques. This book is about learning the language, understanding when to apply its features, and selecting the framework that fits your real-world project perfectly.

Who is this book for?

If you are keen to learn TypeScript, this book will give you all the necessary knowledge and skills to tackle any TypeScript project. It will also give you an understanding of what application frameworks are out there, and which one to choose for your next project. If you are already an experienced JS or TypeScript developer, then this book will take your skills to the next level. No JS experience is required to get started — we’ll teach you all you need to know.

What you will learn

  • Gain insights into core and advanced TypeScript language features
  • Integrate with existing JavaScript libraries and third-party frameworks
  • Build full working applications using JavaScript frameworks, such as Angular, React, Vue, and more
  • Create test suites for your application with Jest and Selenium
  • Apply industry-standard design patterns to build modular code
  • Develop web server solutions using NodeJS and Express
  • Design and implement serverless API solutions
  • Explore micro front-end technologies and techniques

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 23, 2021
Length: 538 pages
Edition : 4th
Language : English
ISBN-13 : 9781800564732
Vendor :
Microsoft
Category :
Languages :

Product Details

Publication date : Apr 23, 2021
Length: 538 pages
Edition : 4th
Language : English
ISBN-13 : 9781800564732
Vendor :
Microsoft
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
₹800 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
₹4500 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₹400 each
Feature tick icon Exclusive print discounts
₹5000 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₹400 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 10,650.97
TypeScript 4 Design Patterns and Best Practices
₹2904.99
The TypeScript Workshop
₹3425.99
Mastering TypeScript
₹4319.99
Total 10,650.97 Stars icon

Table of Contents

18 Chapters
Up and Running Quickly Chevron down icon Chevron up icon
Exploring the Type System Chevron down icon Chevron up icon
Interfaces, Classes, Inheritance, and Modules Chevron down icon Chevron up icon
Generics and Advanced Type Inference Chevron down icon Chevron up icon
Asynchronous Language Features Chevron down icon Chevron up icon
Decorators Chevron down icon Chevron up icon
Integration with JavaScript Chevron down icon Chevron up icon
Strict Compiler Options Chevron down icon Chevron up icon
Using Observables to Transform Data Chevron down icon Chevron up icon
Test-Driven Development Chevron down icon Chevron up icon
Angular Chevron down icon Chevron up icon
React Chevron down icon Chevron up icon
Vue Chevron down icon Chevron up icon
Node and Express Chevron down icon Chevron up icon
An AWS Serverless API Chevron down icon Chevron up icon
Micro Front-ends Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(15 Ratings)
5 star 66.7%
4 star 20%
3 star 0%
2 star 0%
1 star 13.3%
Filter icon Filter
Top Reviews

Filter reviews by




Samet Sep 15, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book is very comprehensive, covering almost any topic from the very beginning to the expert level. And it's not only specific to TypeScript features but using JavaScript, React, Angular, Vue, Node.js, and many more technologies with TypeScript. So you definitely get more than what you'd get from online TypeScript documentation. The examples are clear and explained in detail. Definitely recommended as a reference source.Disclaimer: I received the PDF version of the book for free to review and share my thoughts.
Amazon Verified review Amazon
Mike Rourke May 29, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a person who has been using TypeScript exclusively for over 5 years, I was initially skeptical about whether this book would deliver on its promise of mastering TypeScript. I'm happy to say I was proven wrong. This book is an excellent and comprehensive resource on TypeScript that provides value for newcomers and experts alike. I even learned a few things I wasn't aware of in the second chapter, which covered an introduction to the type system.The chapters on decorators and JavaScript integration are excellent. The later chapters that cover framework-specific applications provide value by accommodating for a wide array of readers. I learned TypeScript by writing the code and struggling through error messages, reading blog posts, and searching for answers on Google. I wish I had this book when I first started, because I would have saved myself a lot of frustration. If you're just learning TypeScript for the first time, or just trying to fill gaps in your existing knowledge, I cannot recommend this book enough.
Amazon Verified review Amazon
Daniel Dominguez Jul 12, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A fantastic resource for obtaining a rock solid understanding of typescript. The author does a great job of giving a thorough explanation of concepts ranging from beginner to advanced and does it in a way that I haven't really seen done elsewhere. Fundamentals aside, I really enjoyed the chapters on observables, micro front ends, and the different frameworks that typescript can be integrated with. Going forward this will definitely be reference material for my day to day work and learning.
Amazon Verified review Amazon
Robert P. Gavila Jun 01, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is so well written! Typescript is a fascinating adaptation of JavaScript, making the quirkiest computer language in the world s beautiful and normal way to program web pages.
Amazon Verified review Amazon
Ricardo Jorge Melo Jóia May 03, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Either you're new to Typescript or looking to learn about the latest additions to this awesome language, this is the book for you.The book follows a structure from basics to advanced providing examples that you can use to code along as you progress through the book to consolidate your learning experience.From setting up your environment and the basics of Typescript to primitive types, best practices, object-oriented principles, generics, and asynchronous techniques such as callbacks, promises, and async-await, decorators, integration with Javascript, which may be useful if you're planning to migrate your javascript project to typescript, and other scenarios, and strict and no compiler options, this books provides you a solid base to help you learn and know how to apply the best practices and techniques to make your project type-safe with typescript.One nice surprise was a chapter dedicated to RxJs, where the author provides an explanation of what it is and why it's so important such as examples of some of the most used operators and the Chapter about TDD using Jest, where you can learn more about this technique to build quality from the ground up to your project using one of the best testing frameworks, Protractor and Selenium are also covered if you're looking for an end-to-end testing solution.The author then takes you to an intro to Angular, React, and Vue, building parts of a solution that later you'll be able to put together as a whole using on micro-front-end technique.There's a chapter also about Node and Express and AWS Serverless API.Definitely, a book to keep around and check every now and then when you find a case you might want to improve, especially when you find the `any` type in your codebase and you want to improve it.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.

Modal Close icon
Modal Close icon