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

File last commit:

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