##// END OF EJS Templates
fixed bug in applying a lifetime while processing the json configuration...
fixed bug in applying a lifetime while processing the json configuration fixed template-compile

File last commit:

r142:be7edf08a115 v1.4.0-rc3 default
r152:8bee6a6d5f46 v1.4.0-rc10 default
Show More
config.ts
14 lines | 373 B | video/mp2t | TypeScriptLexer
import { Services } from "./services";
import { fluent } from "../di/traits";
import { Box } from "./Box";
export default fluent<Services>().configure({
host: it => it.value("example.com"),
foo: it => import("./Foo").then(({ Foo }) => it
.factory(() => new Foo())
),
box: it => it
.factory($dependency => new Box($dependency("foo")))
});