← All writing

(Incomplete) The introduction to TypeScript Generics you've been missing

Note: this is an unfinished draft

by @swyx, with direct attribution and acknowledgement of @andrestaltz's introduction to Reactive Programming

⚠️Note: this is a work in progress - I am not even a TypeScript expert, I am merely Learning In Public and jotting down non obvious, useful notes.

First thing to do is read the official Generics guide from the TS Handbook. I am not here to compete with the docs.

Based on this, I assume you know:

  • where to place angle brackets
    • especially in classes and interfaces
  • etc from the intro

Structure

Leave a reaction if you liked this post! 🧡
Loading comments...
Webmentions
Loading...

Latest posts

Search and see all content.