##// END OF EJS Templates
dependency builder proposal
dependency builder proposal

File last commit:

r110:cc196cedcf24 ioc ts support
r110:cc196cedcf24 ioc ts support
Show More
config.ts
29 lines | 555 B | video/mp2t | TypeScriptLexer
import { Foo } from "./Foo";
import { Bar } from "./Bar";
import { ActivationType } from "../di/interfaces";
import { Builder } from "../di/Annotations";
import { Box } from "./Box";
interface RegistrationOptions {
activation?: ActivationType;
}
interface ConfigBuilder<S> {
service<K extends keyof S>(name: K): Builder<S[K], S>;
}
interface ContainerServices {
barBox: Box<Bar>;
foo: Foo;
bar: Bar;
password: string;
user: string;
timeout: number;
}
export declare const config: ConfigBuilder<ContainerServices>;