UNPKG

nestjs-cls

Version:

A continuation-local storage module compatible with NestJS's dependency injection.

13 lines 421 B
export type PromiseWithResolvers = { resolve: (value?: any) => void; reject: (error: any) => void; promise: Promise<any>; }; /** * Simulates the behavior of Promise.withResolvers * that is available in Node 22 * * FUTURE: Remove this polyfill once we target Node 22 */ export declare function Promise_withResolvers<T>(): PromiseWithResolvers; //# sourceMappingURL=promise-with-resolvers.polyfill.d.ts.map