7 lines
192 B
Plaintext
7 lines
192 B
Plaintext
import { ZodEnumDef } from "zod/v3";
|
|
export type JsonSchema7EnumType = {
|
|
type: "string";
|
|
enum: string[];
|
|
};
|
|
export declare function parseEnumDef(def: ZodEnumDef): JsonSchema7EnumType;
|