variable z.util.arrayToEnumimport { z } from "https://deno.land/x/pup@1.0.0-rc.9/deps.ts"; const { arrayToEnum } = z.util; type<T extends string, U extends [T, ...T[]]>(items: U) => [k in U[number]]: k