nestjs-cls
Version:
A continuation-local storage module compatible with NestJS's dependency injection.
17 lines • 695 B
TypeScript
export type InjectableProxyMetadata = {
/**
* If true, accessing any property on this provider while it is unresolved will throw an exception.
*
* Otherwise, the application behaves as if accessing a property on an empty object.
*
* Default: false
*
* Note - setting this option again in the forRootAsync method will override the value set in the decorator.
*/
strict?: boolean;
};
/**
* Mark a Proxy provider with this decorator to distinguish it from regular NestJS singleton providers
*/
export declare function InjectableProxy(options?: InjectableProxyMetadata): (target: any) => any;
//# sourceMappingURL=injectable-proxy.decorator.d.ts.map