TypeScript: Type Compatibility
In this video I'm going over the Type Compatibility page from the TypeScript handbook. I do my best to explain in detail the topics found on this page: https://www.typescriptlang.org/docs/h.... The code from the video: https://github.com/d-dmytro/typescrip... 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 https://www.udemy.com/course/react-wi...

Indexed Access Types (Lookup Types) in TypeScript (plus keyof and generics)

"Clean" Code, Horrible Performance

Utility Types - Advanced TypeScript

"Understanding TypeScript's Structural Type System" by Drew Colthorp

CppCon 2014: Mike Acton "Data-Oriented Design and C++"

The Design of C++ , lecture by Bjarne Stroustrup

Conditional Types - Advanced TypeScript

TypeScript - The Basics

Generics: The most intimidating TypeScript feature

Why I use Type and not Interface in TypeScript

Fun Times with Advanced TypeScript

Object Oriented vs Functional Programming with TypeScript

TypeScript Interfaces vs Types

Busy TypeScript Developer’s Guide to Advanced TypeScript | Ted Neward

How AI Cracked the Protein Folding Code and Won a Nobel Prize

Mastering async code with Typescript and Javascript

How to Crack any Software

The Only Unbreakable Law

Typescript Mistakes Every Junior Developer should Avoid | clean-code

