Union types and difference between an interface and a type

  Рет қаралды 4,053

Nadir Hussain

Nadir Hussain

20 күн бұрын

In this video you will find concepts of literal types, union types and intersection of types in typescript. Intersection of types is useful when you have to extend properties of a type. This is similar to using extend keyword in Interfaces. There are other differences as well. Particularly interfaces cannot form unions just like types. All these differences have been explained by practical examples in this video.

Пікірлер
Types in Typescript - Difference between Any and Unknown Types
10:27
Nadir Hussain
Рет қаралды 3,7 М.
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,8 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 18 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,1 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,1 МЛН
Fresher's Frontend Interview
1:11:44
ProCodrr
Рет қаралды 19 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 153 М.
10 Nooby Mistakes Devs Often Make In Python
24:31
Indently
Рет қаралды 51 М.
From 0 to Back-End Developer in 12 Months: The Complete Roadmap
8:24
Programming with Mosh
Рет қаралды 130 М.
Why use Type and not Interface in TypeScript
14:12
ByteGrad
Рет қаралды 194 М.
I Cannot Believe TypeScript Recommends You Do This!
7:45
Web Dev Simplified
Рет қаралды 163 М.
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 234 М.
7 Awesome TypeScript Types You Should Know
8:57
Josh tried coding
Рет қаралды 78 М.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 1,5 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 94 М.