UNPKG

openapi-ts-mock-generator

Version:
20 lines 547 B
// src/types.ts var HttpMethods = /* @__PURE__ */ ((HttpMethods2) => { HttpMethods2["GET"] = "get"; HttpMethods2["PUT"] = "put"; HttpMethods2["POST"] = "post"; HttpMethods2["DELETE"] = "delete"; HttpMethods2["OPTIONS"] = "options"; HttpMethods2["HEAD"] = "head"; HttpMethods2["PATCH"] = "patch"; HttpMethods2["TRACE"] = "trace"; return HttpMethods2; })(HttpMethods || {}); var isNotNullish = (value) => { return value !== null && value !== void 0; }; export { HttpMethods, isNotNullish }; //# sourceMappingURL=types.mjs.map