Lars Hupel
Advanced Typing in TypeScript
#1about 4 minutes
Understanding the core design principles of TypeScript
TypeScript's design is based on core tenets like structural typing, powerful type inference, and support for common JavaScript patterns.
#2about 6 minutes
A practical example of typing the DOM API
The `addEventListener` method is typed using string literal types, the `keyof` operator, and an event map interface to provide type safety for different event types.
#3about 5 minutes
Designing a type-safe data pipeline inspired by Pandas
A type-safe data processing API can be designed to overcome the runtime errors common in libraries like Pandas by tracking the shape of data frames.
#4about 4 minutes
Using generic record types for table columns
The `Table` interface uses a generic type parameter constrained to `Record<string, any>` to represent named columns with specific types.
#5about 7 minutes
Implementing and demonstrating the data pipeline API
A live demo showcases the API's type inference capabilities for selecting, computing, and dropping columns from a table without explicit type annotations.
#6about 3 minutes
Answering questions on partial types and inference
The Q&A covers handling partial objects in constructors and demonstrates how TypeScript correctly infers the types of newly computed columns.
Related jobs
Jobs that call for the skills explored in this talk.
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Picnic Technologies B.V.
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Angular
+1
Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Continuous Integration
+1
Matching moments
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
02:39 MIN
Establishing a single source of truth for all data
Cat Herding with Lions and Tigers - Christian Heilmann
02:44 MIN
Rapid-fire thoughts on the future of work
What 2025 Taught Us: A Year-End Special with Hung Lee
03:38 MIN
Balancing the trade-off between efficiency and resilience
What 2025 Taught Us: A Year-End Special with Hung Lee
04:22 MIN
Why HR struggles with technology implementation and adoption
What 2025 Taught Us: A Year-End Special with Hung Lee
03:15 MIN
The future of recruiting beyond talent acquisition
What 2025 Taught Us: A Year-End Special with Hung Lee
Featured Partners
Related Videos
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Jens Claes
Where we're going we don't need JavaScript - Programming with Type Annotations
Peter Kröner
Lies we Tell Ourselves As Developers
Stefan Baumgartner
All you need is types
Tal Joffe
The Art and Craft of Type Development
Michael Hladky & Stefan Baumgartner
Building software that scales with Typescript
Tal Joffe
Typed Security: Preventing Vulnerabilities By Design
Michael Koppmann
Svelte ♥ TypeScript and so will you
Ivan Hofer
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



Materialise
Barcelona, Spain
Intermediate
Java
React
Three.js
TypeScript
Unit Testing
+1

DATATRONiQ
Berlin, Germany
Senior
React
Node.js
JavaScript
TypeScript
Kubernetes
+4

engelhardt softwareentwicklung
Ditzingen, Germany
API
GIT
Angular
TypeScript

OfferZen
The Hague, Netherlands
Intermediate
CSS
REST
TypeScript
Unit Testing
Microservices
+1


Planner 5D
Barcelona, Spain
Senior
PHP
JavaScript
TypeScript