##// END OF EJS Templates
working on fluent container configuration
working on fluent container configuration

File last commit:

r124:b58fedd83580 ioc ts support
r125:a19ad0acfd39 ioc ts support
Show More
services.ts
25 lines | 556 B | video/mp2t | TypeScriptLexer
import { Foo } from "./Foo";
import { Bar } from "./Bar";
import { Box } from "./Box";
import { declare } from "../di/Annotations";
/**
* Сервисы доступные внутри контейнера
*/
export interface Services {
foo: Foo;
bar: Bar;
bar2: Bar;
box: Box<Bar>;
host: string;
}
/**
* Экспортируем вспомогательные функции для описания сервисов и кинфогурации
*/
export const { define, dependency, configure, $type } = declare<Services>();