Session

Advanced Typescript - More than just types

While Typescript is used in many projects nowadays, many advanced features typescript has to offer are overlooked. This talk will show many awesome not so well known features of typescript. All done in a livecoding session.

Recursive types, type permutations and a css validator written in typescript are just three of the cool topics we are going to cover during this talk.

My agenda (all done in livecoding)
1. I will give a short introduction and a small list of the „more or less“ known types typescript provides like Partial, Pick, Omit etc but will not take much time to show them in depth, because I want to focus on topics not already shown on many blogs or in videos.
2. After that I will start with a more complex example by showing how to extract the returntype of a function.
3. After that I will dive deeper into the „never“ type and how we can use it to differ between different types.
4. We will then switch to other topics like how we can create a type which verifies css rgb-structures.
5. Next I will show more advanced features including:
- recursion
- how to limit the length of a string using types
- how to limit string subtypes to be a path to an object property(„path.to.property“)
6. If typescript 5 will be released until then, I will show some of its features.
7. At the end I will take time to answer possible questions.

Christian Woerz

Senior Fullstack Developer

Zürich, Switzerland

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top