Created
December 1, 2025 04:07
-
-
Save anztrax/f14c56fa81b75fd22adfe287f60e0134 to your computer and use it in GitHub Desktop.
Simple implementation of Tuple To Union in Typescript Type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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