Master Intersections in TypeScript
Автор: Nicos Tsourektsidis
Загружено: 2022-10-17
Просмотров: 728
Описание:
Intersections can be extremely useful when you want to merge your object structures. Join me in this episode to discover everything you need to know about Intersections in TypeScript. And trust me, we have a lot to talk about them. We will review the syntax and explain how they work. I will share with you some practical use cases to understand where could be useful. As always, we will do a deep dive to understand how Intersections compare with other features, and how they are meant to be used. I will also cover some weird parts to help you avoid surprises in your code.
Read the article with the coding examples:
https://nicotsou.com/tltr-typescript-...
Contents
00:00 Intro
01:59 What's an Intersection?
04:26 When to use?
06:17 The weird parts
11:36 A deep dive
15:15 Intersections vs Unions
17:22 Intersections vs extends keyword
Links
My new ✨TypeScript course:
https://tltr-typescript.com
The playlist with all the videos in the series:
• TLTR; TypeScript
Fun with TypeScript Unions:
• Fun with Unions in TypeScript
This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.
❤️ How to support this channel?
Like this video
Subscribe to the channel
Share this video with your friends on social media (only if it helped you)
Check out my course
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: