UNPKG

@launchtray/tsyringe-async

Version:

Lightweight dependency injection container for JavaScript/TypeScript, with asynchronous resolution

10 lines (9 loc) 436 B
if (typeof Reflect === "undefined" || !Reflect.getMetadata) { throw new Error(`tsyringe requires a reflect polyfill. Please add 'import "reflect-metadata"' to the top of your entry point.`); } export { Lifecycle } from "./types"; export * from "./decorators"; export * from "./factories"; export * from "./providers"; export { instance as container } from "./dependency-container"; export { resolveParams } from "./resolve-params";