Now in its third edition, this bestselling guide to TypeScript takes you through the nuts and bolts of the language. No frills, no fuss—just TypeScript essentials!
TypeScript enhances JavaScript with static typing, while keeping all the JS flexibility you know and love! It’s the perfect choice for any developer looking to improve the predictability and reliability of their code. Essential TypeScript 5, Third Edition teaches you how to get the most out of TypeScript 5 for a consistent, dependable development experience.
Inside Essential TypeScript 5, Third Edition you’ll learn how to:
Configure the TypeScript development tools
Use type annotations
Create strongly typed functions and classes
Use generic types
Use type guards to determine types
Create and consume type declaration files
Use TypeScript to create web applications with Angular and React
The book starts you off with a proper understanding of the JavaScript type system that will make using TypeScript so much easier. On that solid foundation, you’ll build your understanding of TypeScript development, following a hands-on learning path all the way to TypeScript’s advanced features.
About the Technology TypeScript is a popular superset of JavaScript that adds support for static typing. TypeScript’s typing features, which will be instantly familiar to C# or Java programmers, help you reduce errors and improve the overall quality of your JavaScript code.
About the Book Essential TypeScript 5 is a fully updated third edition of the classic Adam Freeman bestseller. It provides full coverage of TypeScript 5, including new features like decorators. You’ll begin with the hows-and-whys of TypeScript, then quickly progress to practical applications of static types. No wasted pages! Each chapter is focused on the skills you need to write awesome web apps.
What's Inside
Configure your development tools
Create strongly typed functions and classes
Use generic types, type annotations, and type guards
Create and consume type declaration files
About the Reader For JavaScript developers. No previous experience with TypeScript required.
About the Author Adam Freeman has held senior positions in a range of companies, most recently serving as CTO and COO of a global bank. He has written 50 programming books. The technical editor on this book is Fabio Claudio Ferracchiati.
Quotes A fantastic introduction to TypeScript. It is approachable, clear, and not intimidating in any way. - Jack Franklin, Google
A great learning resource packed with realistic examples. It will get you ready to use TypeScript effectively in your professional and personal projects. - Remo Jansen, Wolk Software
Written in simple language, this book has a great pace and easy-to-understand examples that cover all key language concepts. It’s everything you need to know to get going. - Steve Fenton, Octopus Deploy
This book answered some longstanding questions, raised new ones, and then answered them too. It’s essential reading. - Tom Oeste, Cvent
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.