securityos/node_modules/peek-readable/lib/Deferred.d.ts

7 lines
149 B
TypeScript

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