Union types and difference between an interface and a type

Nadir Hussain
Nadir Hussain
4 هزار بار بازدید - 2 هفته پیش - In this video you will
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.
2 هفته پیش در تاریخ 1403/04/01 منتشر شده است.
4,046 بـار بازدید شده
... بیشتر