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.
Matching moments
06:53 MIN
An introduction to TypeScript's core type system
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
02:11 MIN
Understanding the power and popularity of TypeScript
End-to-End TypeScript: Completing the Modern Development Stack
03:47 MIN
Why TypeScript is essential for building large applications
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
02:37 MIN
Understanding TypeScript's origins and role in scalability
All you need is types
06:35 MIN
Understanding TypeScript's type-level programming capabilities
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
01:21 MIN
Final takeaways for building modern TypeScript applications
End-to-End TypeScript: Completing the Modern Development Stack
01:56 MIN
Exploring the key benefits of adopting TypeScript
Do TypeScript without TypeScript
04:07 MIN
Evaluating the strengths and limitations of TypeScript
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Featured Partners
Related Videos
Where we're going we don't need JavaScript - Programming with Type Annotations
Peter Kröner
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Jens Claes
Lies we Tell Ourselves As Developers
Stefan Baumgartner
The Art and Craft of Type Development
Michael Hladky & Stefan Baumgartner
All you need is types
Tal Joffe
Building software that scales with Typescript
Tal Joffe
Svelte ♥ TypeScript and so will you
Ivan Hofer
Do TypeScript without TypeScript
Simone Sanfratello
Related Articles
View all articles



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

doinstruct Software GmbH
Berlin, Germany
Senior
GIT
JavaScript
TypeScript


Schulz.codes GmbH
Darmstadt, Germany
Intermediate
Senior
React
JavaScript
TypeScript

Speech Processing Solutions
Vienna, Austria
Intermediate
CSS
HTML
JavaScript
TypeScript


autoiXpert GmbH & Co. KG
Stuttgart, Germany
Senior
Node.js
Angular
MongoDB
TypeScript

CONTIAMO GMBH
Berlin, Germany
Senior
Python
Docker
TypeScript
PostgreSQL


DIGITEC Financial Technologies and Services GmbH
Hamburg, Germany
Remote
Linux
TypeScript