Generics: The most intimidating TypeScript feature
Generics are a huge reason why TypeScript is SO DARN POWERFUL. Letting you create types from other types, pass types to functions, and even INFER those types without you needing to specify them. They're pretty advanced, though - so if you want to learn more advanced TypeScript, time to strap in. Become a TypeScript Wizard with Matt's TypeScript Course: https://www.totaltypescript.com/ Follow Matt on Twitter / mattpocockuk 00:00 Intro 00:36 Generics on the type level 01:45 Passing type arguments to functions 03:06 Passing type arguments to Set 04:21 Inferring the types 05:55 Constraints on type arguments 08:19 Constraints in functions 10:07 Sometimes 'as' is fine 11:23 Multiple type arguments 14:05 Defaults in type arguments 15:00 Integrating with third-party libraries 17:26 Outro

LIVE: The /wayfinder Demo

TypeScript Full Course - From Beginner to Advanced

Learn These 10 React Hooks Before Building Projects

You are a Junior Dev if You Don’t Know These 18 TypeScript Utility Types

System Design Course – APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

mattpocock/skills: A complete AI Coding workflow, end-to-end

TypeScript Origins: The Documentary

Strict TypeScript Isn't Enough Anymore

TypeScript Crash Course with Matt Pocock

The TypeScript Course for JS Devs

No Boss, No Money: The Raw Reality of China’s Gen-Z Freelancers

This Is What the Start of a Crash Looks Like

TypeScript Generics are EASY once you know this

7 Authentication Concepts Every Developer Should Know

as const: the most underrated TypeScript feature

How To Think SO Clearly People Assume You're Brilliant

CANBUS – Networking so simple, even YOU can understand it!

Learn TypeScript Generics In 13 Minutes

TypeScript Tutorial for Beginners

