Uploaded May 2024 | Updated September 2026, 1 week ago
Sometimes you want to have a this or that type...for example, a variable that can be a number or string type. To achieve this in TypeScript, you use union types.
The written version here: https://simpletypescript.dev/course/union-types/
Subscribe to My Channel: bit.ly/deeecode
_____
🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.
_____
⚡️ Connect with me:
- Personal youtube: youtube.com/c/dillionmegida
- Personal website: dillionmegida.com
- Twitter: twitter.com/iamdillion
- Instagram: instagram.com/deeecode
- LinkedIn: linkedin.com/in/dillionmegida
- GitHub: github.com/dillionmegida
Sometimes you want to have a this or that type...for example, a variable that can be a number or string type. To achieve this in TypeScript, you use union types.
The written version here: https://simpletypescript.dev/course/union-types/
Subscribe to My Channel: bit.ly/deeecode
_____
🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.
_____
⚡️ Connect with me:
- Personal youtube: youtube.com/c/dillionmegida
- Personal website: dillionmegida.com
- Twitter: twitter.com/iamdillion
- Instagram: instagram.com/deeecode
- LinkedIn: linkedin.com/in/dillionmegida
- GitHub: github.com/dillionmegida










