Back to All Events

Practical TypeScript

  • Holiday Inn Gent Expo Maaltekouter Gent, Vlaams Gewest, 9051 Belgium (map)

Trainers

  • Stefan Baumgartner

  • Bernhard Mayr

Key Takeaways

  • Handle TypeScript projects with ease

  • Design robust and beautiful types and classes

  • Increase your and your team's productivity

  • Learn by refactoring hands-on real-world examples

Schedule

07:30 - 08:30

  • Continental breakfast buffet with the trainers

08:30 - 10:30

In the first block, we bring everybody up to speed on the inner workings of TypeScript’s type system. We learn about:

  • The underlying set theory

  • Union and intersection types

  • Type predications

  • Narrowing and widening

  • Literal types

  • String template literal types

  • Variadic tuple types

  • Conditional types

10:30 - 11:00

  • Break with coffees, teas, juices, energizers and snacks

11:00 - 12:30

The second block focusses on how to get your TypeScript knowledge on the road. Angular is really good at guiding you on a framework level, but the moment you need something a little more, you end up in configuration hell. Here, we look at everything it needs to get your types out to your team. This includes:

  • Type design

  • Type acquisition

  • Configuration possibilities

  • TypeScript version management

  • Library design

  • Dealing with undefined

  • Interfaces vs type aliases

  • Inference vs Annotations

  • Finding where the error is

  • Return types

  • Class design

12:30 - 14:00

  • Lunch with fresh soup, salads, selections of cold and warm fish and meat dishes, dessert

14:00 - 15:30

You’ve experienced it: You have the best types in the world, and everything within your codebase just clicks. And then you need to call an API, and everything goes bonkers. Let’s talk about how we deal with stuff that comes from the outside. How does the type system help us, and what can we additionally do to make sure our data lines up with what we expect in our app.

  • Project structures

  • Shared types

  • Zod and Yup

  • Generated types

  • The Human Factor

15:30 - 16:00

  • Break with coffees, teas, juices, energizers and snacks

16:00 - 17:30

TypeScript has become pretty stable in recent versions, with no huge updates to the type systems like variadic tuple types or string template literal types. Still, TypeScript has lots of improvements for developers that might go unnoticed. We look at everything that has been released in the last couple of versions and see how relevant they are for your daily work: Everything from TypeScript 5.0 to whatever is released today!

About Stefan Baumgartner

Stefan Baumgartner is a software architect working at Dynatrace, and the owner of oida.dev. He is the author of “TypeScript in 50 Lessons”, published by Smashing Magazine, and the TypeScript cookbook, to be published by O'Reilly. He organizes ScriptConf, TSConf:EU, DevOne and Rust Linz. Stefan enjoys Italian food, Belgian beer and British vinyl records.

About Bernhard Mayr

Bernhard is working as a software architect at the SIMS research group at University of Applied Sciences Upper Austria and studying psychology in Innsbruck. His research interests cross the boundaries of psychology and software engineering resulting in topics such as statecharts, hole-driven development, mental models and improving employee satisfaction beyond the scope of technology as the silver bullet.

He enjoys doing sports in the alps, without having to worry about problems that might arise from a lack of software engineering quality.