variable util.arrayToEnumimport { util } from "https://dotland.deno.dev/x/zod@v3.22.2/index.ts"; const { arrayToEnum } = util; type<T extends string, U extends [T, ...T[]]>(items: U) => [k in U[number]]: k