Practical Advanced TypeScript
Course on egghead by Rares Matei
- 1 h 3 min
- LengthVideo runtime
- Subscription
- Price modelegghead plan
- 15
- Lessons
- 4.6
- Rating out of 556 ratings on egghead
- Dec 2018
- Published17 Dec 2018
About this course
This course explores some of the new advanced TypeScript features, using practical examples you might encounter in your projects. We’ll start off by demonstrating two new features that improve readability (numeric separators) and tighten type strictness in classes (strict property initialization). We’ll then improve type guards with a practical Redux-inspired example, followed by a lesson about writing more readable mapped type modifiers. We’ll use a summary on types vs. interfaces to transition to self-referencing types examples (and how to build custom type safe iterators around them).
What it covers
- 1Course Overview: Practical Advanced TypeScript Features
- 2Improve Readability with TypeScript Numeric Separators when working with Large Numbers
- 3Make TypeScript Class Usage Safer with Strict Property Initialization
- 4Use the JavaScript “in” operator for automatic type inference in TypeScript
- 5Automatically infer TypeScript types in switch statements
- 6Create Explicit and Readable Type Declarations with TypeScript mapped Type Modifiers
- 7Use Types vs. Interfaces
- 8Build self-referencing type aliases in TypeScript
- 9Simplify iteration of custom data structures in TypeScript with iterators
- 10Use the TypeScript "unknown" type to avoid runtime errors
- 11Dynamically Allocate Function Types with Conditional Types in TypeScript
- 12Use TypeScript conditional types to create a reusable Flatten type
- 13Infer the Return Type of a Generic Function Type Parameter
- 14Deeply mark all the properties of a type as read-only in TypeScript
- 15Dynamically initialize class properties using TypeScript decorators
Similar TypeScript courses
Same topic, nearest in length, up to three from any one provider.
Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.