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