UNPKG

@mk-singh/utils

Version:

A collection of TypeScript utilities for Deno including route factory with navigation support

8 lines 395 B
import { z } from "zod/v4"; /** * Extracts default values from a Zod schema with full type safety * @param schema - The Zod schema to extract defaults from * @returns Object containing the default values with proper typing */ export declare function getZodDefaults<T extends z.ZodRawShape>(schema: z.ZodObject<T>): Partial<z.infer<z.ZodObject<T>>>; //# sourceMappingURL=get-defaults.d.ts.map