import { fluent } from "../di/traits"; import { Bar } from "./Bar"; import { ChildServices, Services } from "./services"; export default fluent() .provided() .configure({ bar: it => it .factory($ => new Bar({ foo: $("foo"), host: $("host") }, "bar")) });