Email the Author
You can use this page to email Miłosz Piechocki about Advanced TypeScript.
About the Book
The book introduces you to the world of advanced TypeScript concepts including: compiler flags for catching more errors, generic types, and how to compose types with discriminated unions.
After reading this book, you’ll feel more confident in your TypeScript skills. You will be able to write types that detect whole classes of possible runtime errors at compile time. Typing even the most untypeable JavaScript code will be a no brainer for you, and you’ll be fluent in TypeScript error messages.
The course is divided into five chapters. All of them have real life examples and focus on practicality. The first module is dedicated to strict typing. It discusses the most important compiler flags responsible for increasing strictness of type checking. The second module talks about one of the most confusing concepts of TypeScript, generic types. The third module is the most important one as it explains how to compose types in TypeScript and focuses on discriminated union types. The fourth module lists other advanced types available in TypeScript and explains their usefulness. Finally, the fifth module is specifically dedicated to real-life examples of using TypeScript in complex scenarios. It talks about debugging compile errors and about using TypeScript with some of the most popular libraries.
About the Author
I'm an experienced software engineer, currently working as an Engineering Manager at a SaaS company. I've been using TypeScript for the last 5 years. Previously, I wrote code in various statically typed languages, including C#, Haskell and Scala. I run a programming blog and love to share knowledge at meet-ups and conferences.