GOTO Amsterdam 2022

Tuesday Jun 14
15:30 –
Tuesday Jun 14
16:30 –

Hands-on Lab: Type Programming in TypeScript

This session is a practical hands-on lab where you will get a chance to actively work with a specific technology. The hands-on lab is running over 2 regular talk sessions which is a total length of 80 active minutes with a break in between (40 mins + 20 mins break + 40 mins).

In this hands-on session, we'll explore how TypeScript's advanced type system allows us to generalise code using higher order functional programming, while maintaining type safety and avoiding explicit definition of derivative types.

We'll take a sample piece of code which contains duplication and refactor it over the course of the session. First using higher order functions without type safety, and then gradually adding safety with generics, mapped types and conditional types.


  • Attendees should be familiar with the basics of TypeScript.

This will be a guided practical with a beginning, middle and end. It is not advisable to jump in and out of this session