Skip to main content
Module

x/omdb/deps.ts>z.util.arrayToEnum

Access OMDb's API with Deno.
Go to Latest
variable z.util.arrayToEnum
import { 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