##// END OF EJS Templates
Added tag v1.4.2 for changeset c446ccde5f9f
Added tag v1.4.2 for changeset c446ccde5f9f

File last commit:

r142:be7edf08a115 v1.4.0-rc3 default
r166:860bbb01e1a0 default
Show More
config2.ts
10 lines | 319 B | video/mp2t | TypeScriptLexer
import { fluent } from "../di/traits";
import { Bar } from "./Bar";
import { ChildServices, Services } from "./services";
export default fluent<ChildServices>()
.provided<keyof Services>()
.configure({
bar: it => it
.factory($ => new Bar({ foo: $("foo"), host: $("host") }, "bar"))
});