TypeScript: types vs interfaces

preview_player
Показать описание
Starting to use TypeScript or been using it for awhile and still unsure about whether to use a type or an interface? I'll cover when you are forced to use one or the other and what makes sense.

Gear:

0:00 Intro
0:37 TypeScript Intro
1:55 Types (aka type aliases)
3:45 Unions
5:15 Union gotchas
6:00 Interfaces
6:51 Declaration Merging
8:39 Outro

Ending Music:
Creative Commons — Attribution 3.0 Unported — CC BY 3.0

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

Interested in more TypeScript or frontend content? Let me know in the comments!

ascourter