TypeScript Cookbook: Real World Type-Level Programming

· "O'Reilly Media, Inc."
5.0
1 review
Ebook
422
Pages
Eligible

About this ebook

TypeScript is one of the most important tools for JavaScript developers. Still, even experienced developers wonder why the TypeScript compiler is throwing squiggly red lines at them. Enter TypeScript Cookbook. With this practical guide, author Stefan Baumgartner provides senior engineers with solutions for everyday TypeScript problems.

If you're conversant with TypeScript as well as JavaScript basics, this book provides actionable recipes to help you tackle a wide array of issues. From setting up complex project structures to developing advanced helper types, each self-contained recipe guides you through the problem and discusses why and how a solution works.

The ideal companion for your ongoing TypeScript journey, this cookbook helps you:

  • Dive into the inner workings of the TypeScript type system
  • Integrate TypeScript into a variety of projects
  • Craft advanced type definitions that allow for flexible scenarios
  • Create useful helper types that function across projects
  • Ensure readability along with type safety
  • Create robust APIs for helper types and their coworkers
  • Strongly type function signatures that rely on string types
  • Work around limitations of the standard library
  • Integrate TypeScript into advanced React projects

Discover more

Ratings and reviews

5.0
1 review

About the author

Stefan Baumgartner is a Senior Product Architect at Dynatrace, where he leads the development efforts for TypeScript-based development tools, libraries, and language runtimes. He writes about TypeScript on his popular blog fettblog.eu, and published his first TypeScript book “TypeScript in 50 Lessons” with Smashing Magazine in 2020.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.