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

x/zod/mod.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.21.3/mod.ts";
const { flatten } = objectUtil;
definition: identity<[k in keyof T]: T[k]>