##// END OF EJS Templates
Added LazyReferenceDescriptor, removed lazy behaviour from ReferenceDescriptor.
Added LazyReferenceDescriptor, removed lazy behaviour from ReferenceDescriptor.

File last commit:

r119:86e3aa3c3eea ioc ts support
r122:118478dfa903 ioc ts support
Show More
services.ts
23 lines | 530 B | video/mp2t | TypeScriptLexer
cin
configuration draft-1
r119 import { Foo } from "./Foo";
import { Bar } from "./Bar";
import { Box } from "./Box";
import { declare } from "../di/Annotations";
/**
* Сервисы доступные внутри контейнера
*/
export interface Services {
foo: Foo;
bar: Bar;
box: Box<Bar>;
host: string;
}
/**
* Экспортируем вспомогательные функции для описания сервисов и кинфогурации
*/
export const { define, dependency, config } = declare<Services>();