UNPKG

zod-to-x

Version:

Multi language types generation from Zod schemas.

14 lines (13 loc) 492 B
import { IZodToXOpt } from "../../core"; export interface IZod2TsOpt extends IZodToXOpt { /** * Output transpilation using Typescript interfaces or Classes. */ outType?: "interface" | "class"; /** * By default (false), structure/class property names are converted according to the target * language's naming conventions. If set to true, the original property names are preserved. */ keepKeys?: boolean; } export declare const defaultOpts: IZod2TsOpt;