Matt Pocock photo

Matt Pocock

TypeScript Educator

There Is No Such Thing as a 'Generic'

When you think of the hardest thing about TypeScript, the word 'generics' comes to mind. Generics feel mystical, impossible to grok - but powerful. Generics are at the heart of TypeScript's most powerful abstractions, from Zod to tRPC to your frontend framework.

The truth is that there's no such thing as a 'generic' in TypeScript. There are type arguments, and type parameters. There are generic types. Generic functions. Generic classes. And once you realise that, their power unlocks itself.

About Matt

Matt is an independent full-stack engineer and developer advocate working on a comprehensive TypeScript course called Total TypeScript.

View the Agenda