Using Specialized Types and Language Features in TypeScript
Ever stumbled across a TypeScript issue and became totally overwhelmed with the abstract documentation of advanced concepts? This course will help you solve even the most challenging typing and modeling issues that you will encounter in TypeScript.
What you'll learn
Most developers find it hard to learn and understand the more advanced features of TypeScript because the documentation and examples are often way too abstract and difficult to relate to the real world. In this course, Using Specialized Types and Language Features in TypeScript, you’ll learn how to deal with challenging problems that you will find in any significantly sized code base. First, you’ll explore options for differentiating types from each other at compile and run time. Next, you’ll discover how to create types that are inferred from other types and even generate new types from existing types. Finally, you’ll learn how to model your code to deal with custom iteration, infinite sequences, and metaprogramming with symbols. When you’re finished with this course, you’ll have the skills and knowledge of TypeScript needed to keep your code base performant, flexible, and type-safe.
Table of contents
- Attempting to Solve Partial Updates without a Transformation 2m
- Performing Partial Updates Using the Partial Utility Type 3m
- Mapping from One Type to Another 4m
- Excluding Properties from Generated Types 2m
- Creating New Function Signatures from Existing Signatures 3m
- Working with Generated Function Signatures 3m