@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
16 lines (14 loc) • 401 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.example = void 0;
/**
* Decorator to describe api examples
*/
function example(options) {
return (target, propertyKey, descriptor) => {
target.examples = target.examples || {};
target.examples[propertyKey] = options;
};
}
exports.example = example;
//# sourceMappingURL=IApiExample.js.map