File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -47,19 +47,23 @@ export interface PendingPromiseState<T = {}> extends PromiseStateBase {
47
47
readonly pending : true ;
48
48
readonly fulfilled : false ;
49
49
readonly rejected : false ;
50
+ readonly value : undefined ;
51
+ readonly reason : undefined ;
50
52
}
51
53
52
54
export interface FulfilledPromiseState < T = { } > extends PromiseStateBase {
53
55
readonly pending : false ;
54
56
readonly fulfilled : true ;
55
57
readonly rejected : false ;
56
58
readonly value : T ;
59
+ readonly reason : undefined ;
57
60
}
58
61
59
62
export interface RejectedPromiseState < T = { } > extends PromiseStateBase {
60
63
readonly pending : false ;
61
64
readonly fulfilled : false ;
62
65
readonly rejected : true ;
66
+ readonly value : undefined ;
63
67
readonly reason : any ;
64
68
}
65
69
You can’t perform that action at this time.
0 commit comments