UNPKG

@anyme/anymejs

Version:
21 lines (18 loc) 474 B
import { Container } from 'inversify'; class InversifyAdapter { container; child; constructor(container) { this.container = container; this.child = new Container({ parent: container, autobind: true, defaultScope: "Request", }); } get(someClass, _action) { return this.child.get(someClass); } } export { InversifyAdapter as default }; //# sourceMappingURL=inversify-adapter.js.map