agsamantha/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js
2024-10-02 15:15:21 -05:00

8 lines
317 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseReadonlyDef = void 0;
const parseDef_js_1 = require("../parseDef.js");
const parseReadonlyDef = (def, refs) => {
return (0, parseDef_js_1.parseDef)(def.innerType._def, refs);
};
exports.parseReadonlyDef = parseReadonlyDef;