Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.EnumValues

import type { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { EnumValues } = z;
type EnumValues<T extends string = string> = readonly [T, ...T[]];

§Type Parameters

§
T extends string = string
[src]

§Type

§
readonly [T, ...T[]]
[src]