UNPKG

zod-to-x

Version:

Multi language types generation from Zod schemas.

9 lines (8 loc) 474 B
import { ZodDiscriminatedUnion, ZodIntersection, ZodObject, ZodTypeAny, ZodUnion } from "zod"; export declare function isTranspilerableZodType(zodType: string): boolean; export declare function isTranspiledExtendable(zodType: string): boolean; export declare function cloneTranspiledExtendable(zodItem: ZodTypeAny): ZodUnion<any> | ZodDiscriminatedUnion<any, any> | ZodIntersection<any, any> | ZodObject<any, any, any, { [x: string]: any; }, { [x: string]: any; }>;