Created
December 1, 2025 02:55
-
-
Save anztrax/6df97a5e4ddcfb6d5baa5e4fd6c799c1 to your computer and use it in GitHub Desktop.
Simple implementation of concat 2 array in TS 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 Concat<T extends readonly unknown[], U extends readonly unknown[]> = [...T, ...U] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment