nestjs-cls
Version:
A continuation-local storage module compatible with NestJS's dependency injection.
11 lines • 381 B
TypeScript
import { ClsStore } from './cls.options';
import { ClsService } from './cls.service';
export declare class ClsServiceManager {
private static clsService;
/**
* Retrieve a ClsService outside of Nest's DI.
* @returns the ClsService
*/
static getClsService<T extends ClsStore = ClsStore>(): ClsService<T>;
}
//# sourceMappingURL=cls-service-manager.d.ts.map