Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/schemas/enum/enum.ts>Enum

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias Enum
import { type Enum } from "https://deno.land/x/valibot@v0.28.1/src/schemas/enum/enum.ts";

Enum type.

definition: { [key: string]: string | number; [key: number]: string; }