/typescript-model-crazy-types

Code for my presentation about modeling data in TypeScript

Primary LanguageTypeScript

typescript-model-crazy-types

👋 This is code for "How to model your crazy data in TypeScript" presentation

All files with code samples can be found in ./src

Description

Our data models can be crazy. Sometimes you take a quick look and you already see that if-else to handle it properly. But if you use TypeScript you can handle most of it on the compilation level. I will show you how I’m dealing with strange types cases, how to avoid type-mess in your app, properly use algebraic types and how to benefit from structural type system.

Videos

Presentation

Embedded on the page - click

About me

michalczukm.xyz