@stoplight/ioc
Advanced tools
Comparing version 0.0.11-22 to 0.0.11-23
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
var tslib_1 = require("tslib"); | ||
require("reflect-metadata"); | ||
tslib_1.__exportStar(require("./ioc"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// @ts-ignore | ||
const inversify_1 = require("inversify"); | ||
const inversify_binding_decorators_1 = require("inversify-binding-decorators"); | ||
const inversify_inject_decorators_1 = require("inversify-inject-decorators"); | ||
var inversify_1 = require("inversify"); | ||
var inversify_binding_decorators_1 = require("inversify-binding-decorators"); | ||
var inversify_inject_decorators_1 = require("inversify-inject-decorators"); | ||
exports.container = new inversify_1.Container(); | ||
const provide = inversify_binding_decorators_1.makeFluentProvideDecorator(exports.container); | ||
var provide = inversify_binding_decorators_1.makeFluentProvideDecorator(exports.container); | ||
// @provideSingleton decorator | ||
exports.provideSingleton = (identifier) => { | ||
exports.provideSingleton = function (identifier) { | ||
return provide(identifier) | ||
@@ -12,0 +12,0 @@ .inSingletonScope() |
{ | ||
"name": "@stoplight/ioc", | ||
"version": "0.0.11-22", | ||
"version": "0.0.11-23", | ||
"description": "Stoplight ioc implementation.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3111