TypeScript: Type Compatibility

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

The code from the video:

Table of contents:
00:00 Nominal and Structural type systems
00:41 An example of nominal typing
02:52 Structural typing
03:48 What is a sound type system
04:31 An example of structural typing in TypeScript
10:48 Comparing functions
14:48 Function parameter bivariance
19:47 Optional parameters and rest parameters
25:04 Functions with overloads
27:40 Enums
30:00 Classes
32:19 Private and protected members in classes
38:30 Generics
40:36 Subtype vs Assignment compatibility

👨‍💻 My Udemy Course:
Using TypeScript with React
Рекомендации по теме
Комментарии
Автор

Thank you soooo much there is very less content like you on YouTube keep it up.

alinawaz
Автор

Very good content. I am looking forward for next. Thank

SilasSWF
Автор

Excellent video! Thanks a lot for sharing your knowledge.

Noway
Автор

A very good explanation of advanced concepts. Will definitely buy the advanced typescript course if you'll have one on Udemy.

vladimirsapozhnikov
Автор

As I remembered structural type systems sometimes named duck typing

vladimirsapozhnikov
join shbcf.ru