7 lines
149 B
TypeScript
7 lines
149 B
TypeScript
export declare class Deferred<T> {
|
|
promise: Promise<T>;
|
|
resolve: (value: T) => void;
|
|
reject: (reason: any) => void;
|
|
constructor();
|
|
}
|