Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/zod/index.ts>OK

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias OK
Re-export
import { type OK } from "https://deno.land/x/zod@v3.9.8/index.ts";
definition: { valid: true; value: T; }
variable OK
Re-export
import { OK } from "https://deno.land/x/zod@v3.9.8/index.ts";

type

<T>(value: T) => OK<T>