##// END OF EJS Templates
sync
sync

File last commit:

r123:264497557e79 ioc ts support
r123:264497557e79 ioc ts support
Show More
config.ts
15 lines | 408 B | video/mp2t | TypeScriptLexer
cin
sync
r123 import { configure } from "./services";
import { Foo } from "./Foo";
import { Bar } from "./Bar";
cin
dependency builder proposal
r110
cin
sync
r123 export const config = configure()
.register("bar", { $from: import("./Bar"), service: "service" })
.register("box", { $from: import("./Box") })
.register("host", "example.com")
.register("foo", {
$type: Foo
})
.register("bar2", {
$type: Bar,
params: []
});