How did I not know this TypeScript type trick earlier?

Опубликовано: 24 Октябрь 2024
на канале: Flo Woelki
1,893
86

This TypeScript combo is so powerful I now use it in my day job every day! If you are curious about TypeScript and how it works under-the-hood, I highly recommend watching this video after this one to gain knowledge about how TypeScript decorators work:    • How TypeScript Decorators work under-...  


📝 Description
Calling all TypeScript devs! I just came across a type trick that has completely changed the game when it comes to typing unions. If you want to write better, more reliable TypeScript code, you need to see this.


⏳ Timestamps:
00:00 - Introduction
00:28 - TypeScript Trick explained
05:51 - Outro


👋 Hey there!
If you are new to this channel: Hey 👋 my name is Flo and I am a professional software engineer with a passion for coding in Golang, TypeScript, JavaScript, and Rust. This channel is where I share that passion and dive into the exciting world of software engineering. Plus, I love using Emojis and paper-based animations (so have a look for that, if you want to find my videos).


📨 Support and Connect!
Buy me a coffee: https://www.buymeacoffee.com/florianw...
Become a member: https://www.youtube.com/@flowoelki/me...
Discord:   / discord  
Instagram:   / flowydev  
LinkedIn:   / florian-woelki  
TikTok:   / florianwoelki  
GitHub: https://github.com/FlorianWoelki


#typescript #typescripttutorial #typescriptdevelopment