UNPKG

retrofit-axios-ts

Version:

A declarative and axios based retrofit implementation for JavaScript and TypeScript.

16 lines (15 loc) 410 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PUT = void 0; const registerMethod_1 = require("../helpers/registerMethod"); /** * PUT decorator. * @param url * @param options * @sample @PUT("/users/{userId}") * @constructor */ const PUT = (url, options) => { return (0, registerMethod_1.registerMethod)("PUT", url, options); }; exports.PUT = PUT;