Octal!O
Deno3y ago
Octal!

Object to tuple of tuple of keys and type?

Example:
type SomeType = {
  owo: string
  uwu: number
}

Into
type SomeType = [
  ["owo", string],
  ["uwu", number]
]
Was this page helpful?