7 lines
223 B
TypeScript
7 lines
223 B
TypeScript
|
import { ZodEnumDef } from 'zod';
|
||
|
export type JsonSchema7EnumType = {
|
||
|
type: 'string';
|
||
|
enum: string[];
|
||
|
};
|
||
|
export declare function parseEnumDef(def: ZodEnumDef): JsonSchema7EnumType;
|
||
|
//# sourceMappingURL=enum.d.ts.map
|