UNPKG

@nelts/http

Version:

http for nelts worker

11 lines (10 loc) 367 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); require("reflect-metadata"); const namespace_1 = require("./decorators/namespace"); function Scope(callback) { const _callback = (plu) => callback(plu); Reflect.defineMetadata(namespace_1.default.CONTROLLER_SCOPED, true, _callback); return _callback; } exports.default = Scope;