agsamantha/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js

5 lines
142 B
JavaScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
import { parseDef } from "../parseDef.js";
export const parseReadonlyDef = (def, refs) => {
return parseDef(def.innerType._def, refs);
};