UNPKG

trpc-openapi

Version:
12 lines 474 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createOpenApiHttpHandler = void 0; const core_1 = require("./node-http/core"); const createOpenApiHttpHandler = (opts) => { const openApiHttpHandler = (0, core_1.createOpenApiNodeHttpHandler)(opts); return async (req, res) => { await openApiHttpHandler(req, res); }; }; exports.createOpenApiHttpHandler = createOpenApiHttpHandler; //# sourceMappingURL=standalone.js.map