nestjs-cls
Version:
A continuation-local storage module compatible with NestJS's dependency injection.
15 lines • 524 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>;
/**
* @deprecated use `resolveProxyProviders` on the `ClsService` instance
*/
static resolveProxyProviders(): Promise<void>;
}
//# sourceMappingURL=cls-service-manager.d.ts.map