##// END OF EJS Templates
Added tag v1.4.0-rc1 for changeset a2fb9af6341c
Added tag v1.4.0-rc1 for changeset a2fb9af6341c

File last commit:

r136:17c7de5d346c ioc ts support
r139:f7ed6a66cdbb default
Show More
config.ts
14 lines | 372 B | video/mp2t | TypeScriptLexer
cin
working on fluent configuration, di annotations removed
r134 import { Services } from "./services";
cin
Completely removed IoC annotations...
r135 import { fluent } from "../di/traits";
cin
tests
r136 import { Box } from "./Box";
cin
Completely removed IoC annotations...
r135
export default fluent<Services>().register({
host: it => it.value("example.com"),
cin
dependency builder proposal
r110
cin
tests
r136 foo: it => import("./Foo").then(({ Foo }) => it
.factory(() => new Foo())
),
box: it => it
.factory($dependency => new Box($dependency("foo")))
cin
Completely removed IoC annotations...
r135 });