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

Reply to this note

Please Login to reply.

Discussion

No replies yet.