@athenna/ioc
Version:
Global Ioc helper for Athenna ecosystem. Built on top of awilix.
15 lines (14 loc) • 378 B
TypeScript
/**
* @athenna/ioc
*
* (c) João Lenon <lenon@athenna.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import 'reflect-metadata';
/**
* Inject a stub instance of the service in a class
* (usually test classes).
*/
export declare function InjectStub(Service: any): PropertyDecorator;