UNPKG

248 BTypeScriptView Raw
1export declare class Deferred<T> {
2 private _promise;
3 private _resolve;
4 private _reject;
5 constructor();
6 get promise(): Promise<T>;
7 resolve(val: T): void;
8 reject(err: unknown): void;
9}
10//# sourceMappingURL=promise.d.ts.map
\No newline at end of file