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/u...
Subscribe to My Channel: https://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: / dillionmegida
Personal website: https://dillionmegida.com/
Twitter: / iamdillion
Instagram: / deeecode
LinkedIn: / dillionmegida
GitHub: https://github.com/dillionmegida