index.js 428 B

123456789
  1. if (typeof Reflect === "undefined" || !Reflect.getMetadata) {
  2. throw new Error("tsyringe requires a reflect polyfill. Please add 'import \"reflect-metadata\"' to the top of your entry point.");
  3. }
  4. export { Lifecycle } from "./types";
  5. export * from "./decorators";
  6. export * from "./factories";
  7. export * from "./providers";
  8. export { delay } from "./lazy-helpers";
  9. export { instance as container } from "./dependency-container";