Skip to content

Instantly share code, notes, and snippets.

@cartant
Created December 4, 2020 06:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cartant/68fdea4f9e4355db297acdf2110bdcb0 to your computer and use it in GitHub Desktop.
type Element0 = [string, number][0];
// string
type Element1 = [string, number][1];
// number
type All = [string, number][number];
// string | number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment