UNPKG

@nahkies/typescript-fetch-runtime

Version:

Runtime package for code generated by @nahkies/openapi-code-generator using the typescript-fetch template

10 lines 443 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.responseValidationFactory = responseValidationFactory; const common_1 = require("./common"); function responseValidationFactory(possibleResponses, defaultResponse) { return (0, common_1.responseValidationFactoryFactory)((schema, value) => { return schema.parse(value); }, possibleResponses, defaultResponse); } //# sourceMappingURL=zod.js.map