Michael Hladky & Stefan Baumgartner
The Art and Craft of Type Development
#1about 6 minutes
The challenge of typing deeply nested object properties
Manually creating function overloads for each level of object nesting is not a scalable or dynamic solution for property selection.
#2about 9 minutes
Setting up a playground for advanced type development
Isolate type development by using the TypeScript playground, a sample data object, and a declared function to focus solely on type signatures.
#3about 13 minutes
Recursively generating a union type for nested keys
Build a recursive helper type using string literals and conditional types to generate a union of all possible dot-notation paths for a nested object.
#4about 8 minutes
Inferring the return type from a string path
Use a recursive conditional type with the `infer` keyword to parse a dot-notation string and correctly determine the type of the selected nested property.
#5about 6 minutes
Recapping the workflow and current TypeScript limitations
The development process involves isolating the problem, using helper types, and understanding current limitations like variadic tuple types for dynamic argument lists.
Related jobs
Jobs that call for the skills explored in this talk.
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Matching moments
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
04:56 MIN
Recreating React components using AI and dev tools
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
05:28 MIN
The origin story of the Polypane developer browser
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
06:47 MIN
Solving date and time issues with the Temporal API
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
Featured Partners
Related Videos
Advanced Typing in TypeScript
Lars Hupel
Vuejs and TypeScript- Working Together like Peanut Butter and Jelly
Rob Richardson
Typed Security: Preventing Vulnerabilities By Design
Michael Koppmann
Lies we Tell Ourselves As Developers
Stefan Baumgartner
Where we're going we don't need JavaScript - Programming with Type Annotations
Peter Kröner
Hello generics, goodbye boilerplate!
Miroslav Jonaš
Practice makes perfect - when it comes to RxJS
Jan-Niklas Wortmann
Angular tips/tricks you can use from tomorrow on
Benedikt Starzengruber
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

engelhardt softwareentwicklung GmbH
Ditzingen, Germany
Remote
CSS
GIT
HTML
Java
+10

engelhardt softwareentwicklung
Ditzingen, Germany
API
GIT
Angular
TypeScript

United Kingdom - 2 minutes ago
Intermediate
API
GIT
Azure
React
Python
+6

Paradigma Digital
Barcelona, Spain
API
React
Svelte
Vue.js
WebPack
+3

Paradigma Digital
Santa Cruz de Tenerife, Spain
API
React
Svelte
Vue.js
WebPack
+3

Rescue
Senior
API
VoIP
React
Python
Vue.js
+3