WeAreDevelopers LIVE • Dec 1, 2020

The Art and Craft of Type Development

Michael Hladky , Stefan Baumgartner

Struggling to strictly type deep object properties without endless function overloads? Learn to build dynamic, recursive TypeScript types that unlock flawless autocomplete and strict safety for nested paths.

Pause
Mute Enter Fullscreen
#1 about 3 min

Introduction to the speakers and the TypeScript problem

Connecting a real-world state management challenge in front-end frameworks to advanced type safety requirements.

#2 about 5 min

Selecting deeply nested state properties in RxAngular

Structuring strongly typed data flows for selecting deeply nested object properties without writing repetitive method overloads.

#3 about 4 min

Setting up a TypeScript playground for type isolation

Declaring unexecutable functions within an isolated environment helps safely test complex signature structures.

#4 about 4 min

Working with generic type variables and inference

Passing generic variables bounds values dynamically to capture precise subset constraints rather than broad object types.

#5 about 2 min

Selecting shallow properties using the keyof operator

Extracting a union of available shallow property keys allows basic string validation on top-level object fields.

#6 about 6 min

Building a recursive helper type for nested keys

Concatenating object properties recursively constructs functional utility types that accurately map deeply nested access paths.

#7 about 8 min

Resolving type constraints and filtering out non-string keys

Enforcing string-only constraints prevents indexing errors while excluding native object methods from the final union type.

#8 about 9 min

Implementing deep property return types with recursion

Applying conditional logic and recursive string literal inference extracts the exact value types of deeply nested paths.

#9 about 7 min

Reviewing the type development workflow and array limitations

Applying generic type bindings to dynamic tuples remains a complex limitation requiring future compiler updates.

Matching moments

4:18 min

Core design principles and features of TypeScript

Lars Hupel · World Congress 2022

2:00 min

The origins and early problems solved by TypeScript

Dani Coll Dani Coll · World Congress 2026 Europe

2:51 min

Deciding when to adopt or avoid TypeScript

Rob Richardson · LIVE

3:08 min

Introduction to basic TypeScript capabilities and type annotations

Jens Claes · World Congress 2023

1:20 min

Core takeaways for end-to-end TypeScript development

Marco Podien Marco Podien · World Congress 2025

2:28 min

Exploring the benefits of type safety and TypeScript migration

Chris Heilmann Chris Heilmann +2 · LIVE