UNPKG

inversify

Version:

A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.

19 lines (18 loc) 554 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Context = void 0; var id_1 = require("../utils/id"); var Context = (function () { function Context(container) { this.id = (0, id_1.id)(); this.container = container; } Context.prototype.addPlan = function (plan) { this.plan = plan; }; Context.prototype.setCurrentRequest = function (currentRequest) { this.currentRequest = currentRequest; }; return Context; }()); exports.Context = Context;