UNPKG

tachijs

Version:

Highly testable dead simple web server written in Typescript

14 lines 436 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const BaseResult_1 = require("./BaseResult"); class SendStatusResult extends BaseResult_1.BaseResult { constructor(status) { super(); this.status = status; } async execute(req, res, next) { return res.sendStatus(this.status); } } exports.SendStatusResult = SendStatusResult; //# sourceMappingURL=SendStatusResult.js.map