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

x/zod/external.ts>objectUtil.flatten

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias objectUtil.flatten
import { type objectUtil } from "https://deno.land/x/zod@v3.20.4/external.ts";
const { flatten } = objectUtil;

Type Parameters

T extends object
definition: identity<[k in keyof T]: T[k]>