Let's talk about another crazy TypeScript trick: `T[number]`.
It looks like absolute insanity.
But I promise by the end of this thread, you'll know how it works.
Let's go

Source: x.com/mattpocockuk/status/1830546778472546573
Let's talk about another crazy TypeScript trick: `T[number]`.
It looks like absolute insanity.
But I promise by the end of this thread, you'll know how it works.
Let's go

Source: x.com/mattpocockuk/status/1830546778472546573
No replies yet.