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