Skip to content

Instantly share code, notes, and snippets.

@anztrax
Created December 1, 2025 04:07
Show Gist options
  • Select an option

  • Save anztrax/f14c56fa81b75fd22adfe287f60e0134 to your computer and use it in GitHub Desktop.

Select an option

Save anztrax/f14c56fa81b75fd22adfe287f60e0134 to your computer and use it in GitHub Desktop.
Simple implementation of Tuple To Union in Typescript Type
type TupleToUnion<T extends unknown[]> = T[number];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment