UNPKG

@nova-ts/context

Version:

A TypeScript library for Dependency Injection

12 lines (10 loc) 367 B
/** * * @param key The key is used to bind the instance to the ApplicationContext * @returns The function with beanInstance loaded in the context * @author Inbanithi * @description It excutes the method and store the result of the method in the ApplicationContext * @type MethodDecorator */ declare function Bean(key?: any): MethodDecorator; export { Bean };