UNPKG

zod-to-json-schema

Version:
9 lines (8 loc) 369 B
import { ZodIntersectionDef } from "zod"; import { JsonSchema7Type } from "../parseDef.js"; import { Refs } from "../Refs.js"; export type JsonSchema7AllOfType = { allOf: JsonSchema7Type[]; unevaluatedProperties?: boolean; }; export declare function parseIntersectionDef(def: ZodIntersectionDef, refs: Refs): JsonSchema7AllOfType | JsonSchema7Type | undefined;