💥 Typescript Type Aliases vs Interfaces - When to Use Which And Why?

preview_player
Показать описание

Check out the PDF E-Books available at the Angular University -


Follow us:

Рекомендации по теме
Комментарии
Автор

you can extend types too, with different syntax:
type X = {
hungry: boolean
}

type Y = X & {name: string}

PierreLaBaguette
Автор

i see potential for bugs with the 'undercover' merge of interfaces with the same name, types seem more explicit in this aspect, possibly preventing accidents

PierreLaBaguette
Автор

Hai.. i have shared my web app url into linkedin . When i am clicking on link window.open not working can you please help me

muthu