Skip to content

Instantly share code, notes, and snippets.

@anztrax
Created December 1, 2025 02:55
Show Gist options
  • Select an option

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

Select an option

Save anztrax/6df97a5e4ddcfb6d5baa5e4fd6c799c1 to your computer and use it in GitHub Desktop.
Simple implementation of concat 2 array in TS type
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