UNPKG

retrofit-axios-ts

Version:

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

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