retrofit-axios-ts
Version:
A declarative and axios based retrofit implementation for JavaScript and TypeScript.
16 lines (15 loc) • 401 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GET = void 0;
const registerMethod_1 = require("../helpers/registerMethod");
/**
* GET decorator.
* @param url
* @param options
* @sample @GET("/users")
* @constructor
*/
const GET = (url, options) => {
return (0, registerMethod_1.registerMethod)("GET", url, options);
};
exports.GET = GET;