Extending Generic Types in TypeScript

Опубликовано: 18 Октябрь 2024
на канале: TypeScript TV with Benny
2,899
45

In this video you will learn how to extend a type argument in TypeScript. You will also get to know what "Type Argument Inference" is and how to use type parameter defaults with Generics.

My FREE programming apps:
https://apps.apple.com/app/id659282498
https://play.google.com/store/apps/de...

My FREE TypeScript Course:
https://typescript.tv/

Timeline:
0:00 Extending generic types
1:42 Type Argument Inference
2:13 Use different type arguments
3:29 Generic type parameter defaults

Resources:
➜ https://www.typescriptlang.org/docs/h...
➜ https://typescript.tv/errors/

Cute icons created by Whitevector - Flaticon: https://www.flaticon.com/free-icons/cute

Follow TypeScript TV:
🌐 https://typescript.tv
🐦   / typescripttv  
📺    / typescripttv​  

Hashtags:
#TypeScript #JavaScript #programmingforbeginners