UNPKG
mana-common
Version:
latest (0.3.2)
next (0.2.2-next.0)
0.3.2
0.3.1
0.3.0
0.2.2
0.2.2-next.0
0.2.0
0.1.0
0.0.1
Common utils for mana
mana-common
/
es
/
deferred.d.ts
7 lines
(6 loc)
•
173 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
class
Deferred
<T> {
resolve
:
(
value
: T |
PromiseLike
<T>
) =>
void
;
reject
:
(
err
?:
any
) =>
void
;
readonly
promise
:
Promise
<T>;
constructor
(
); }