slimp/node_modules/peek-readable/lib/Deferred.d.ts
2023-06-12 11:40:38 -04:00

7 lines
149 B
TypeScript

export declare class Deferred<T> {
promise: Promise<T>;
resolve: (value: T) => void;
reject: (reason: any) => void;
constructor();
}