guardz-axios
Version:
Type-safe HTTP client built on top of Axios with runtime validation using guardz. Part of the guardz ecosystem for comprehensive TypeScript type safety.
11 lines • 381 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createTypedSafePost = createTypedSafePost;
const safePost_1 = require("../functions/safePost");
/**
* Utility function to create a typed safe POST function
*/
function createTypedSafePost(guard) {
return (0, safePost_1.safePost)({ guard });
}
//# sourceMappingURL=createTypedSafePost.js.map