index.js 978 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const tslib_1 = require("tslib");
  4. if (typeof Reflect === "undefined" || !Reflect.getMetadata) {
  5. throw new Error(`tsyringe requires a reflect polyfill. Please add 'import "reflect-metadata"' to the top of your entry point.`);
  6. }
  7. var types_1 = require("./types");
  8. Object.defineProperty(exports, "Lifecycle", { enumerable: true, get: function () { return types_1.Lifecycle; } });
  9. tslib_1.__exportStar(require("./decorators"), exports);
  10. tslib_1.__exportStar(require("./factories"), exports);
  11. tslib_1.__exportStar(require("./providers"), exports);
  12. var lazy_helpers_1 = require("./lazy-helpers");
  13. Object.defineProperty(exports, "delay", { enumerable: true, get: function () { return lazy_helpers_1.delay; } });
  14. var dependency_container_1 = require("./dependency-container");
  15. Object.defineProperty(exports, "container", { enumerable: true, get: function () { return dependency_container_1.instance; } });