The introduction to TypeScript Generics you've been missing

swyx

0 reactions 2019-08-30

Note: this is an unfinished draft, but I’m sharing it anyway as an outline

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

Get updates on new posts and projects

3000+ subscribers including my Mom – see past issues

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